:root{--ink:#20221f;--muted:#777b72;--paper:#f4f3ed;--card:#fffef9;--line:#deddd5;--lime:#c8f25b;--forest:#224c3d;--danger:#b45646;--shadow:0 18px 50px rgba(34,38,32,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,"Segoe UI",Helvetica,Arial,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}.eyebrow{margin:0;color:#82877d;font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;border:0;border-radius:9px;padding:0 18px;color:#fff;background:var(--forest);font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 8px 25px rgba(34,76,61,.17)}.primary-button:hover{background:#193d31}.primary-button.compact{min-height:39px;font-size:11px}.primary-button span{color:var(--lime)}
/* Autenticación */
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 80% 10%,#e6efcc 0,transparent 35%),#20231f}.auth-card{width:min(440px,100%);padding:36px;border:1px solid #dcddd4;border-radius:18px;background:#fffef9;box-shadow:0 28px 80px rgba(0,0,0,.25)}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:42px;font-family:Georgia,serif;font-size:20px}.brand-glyph{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#1d271d;background:var(--lime);font:800 14px/1 Inter,sans-serif}.auth-card h1{margin:8px 0 10px;font:500 34px/1.1 Georgia,serif;letter-spacing:-.6px}.auth-copy{margin:0 0 26px;color:var(--muted);font-size:13px}.auth-form{display:grid;gap:15px}.auth-form label,.settings-form label{display:grid;gap:7px;color:#666b62;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}.auth-form input,.settings-form input,.settings-form select{width:100%;height:44px;border:1px solid #d8d8cf;border-radius:8px;padding:0 12px;background:#faf9f4;outline:0}.auth-form input:focus,.settings-form input:focus,.settings-form select:focus{border-color:#7d9a60;box-shadow:0 0 0 3px rgba(125,154,96,.13)}.auth-form .primary-button{margin-top:4px}.form-error{margin-bottom:16px;padding:11px 13px;border-radius:8px;color:#863d32;background:#f6e5df;font-size:11px}.auth-success p{color:var(--muted);font-size:13px;line-height:1.6}.auth-success .primary-button{margin-top:12px}.auth-hint{display:block;margin-top:22px;color:#92968e;text-align:center}.auth-hint code{color:#4d5c49}
/* Estructura */
.app-page{min-height:100vh;background:linear-gradient(120deg,#f6f5ef,#efeee7)}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:235px;padding:26px 17px 18px;display:flex;flex-direction:column;color:#f5f6f0;background:#1d201d;border-right:1px solid #363a35}.app-brand{display:flex;align-items:center;gap:10px;padding:0 10px 30px;font:500 22px Georgia,serif}.app-brand #close-menu{display:none;margin-left:auto;border:0;color:#bbb;background:transparent;font-size:24px}.side-label{margin:0 12px 9px;color:#7d837b;font-size:9px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}.app-sidebar nav{display:grid;gap:2px}.side-item{width:100%;height:41px;display:flex;align-items:center;gap:11px;border:0;border-radius:8px;padding:0 11px;color:#aeb3ab;background:transparent;text-align:left;font-size:12px;font-weight:650}.side-item>span{width:19px;display:grid;place-items:center;font-size:15px}.side-item:hover{color:#fff;background:#292d29}.side-item.active{color:#1f261e;background:var(--lime)}.side-item b{margin-left:auto;min-width:20px;padding:2px 5px;border-radius:8px;color:#e6e8e4;background:#3b403a;text-align:center;font-size:8px}.side-item.active b{color:#293126;background:rgba(31,38,30,.14)}.side-bottom{display:grid;gap:8px;margin-top:auto}.agent-launch{width:100%;display:flex;align-items:center;gap:9px;border:1px solid #3d433c;border-radius:11px;padding:11px 9px;color:inherit;background:#272b27;text-align:left}.agent-launch>span:nth-child(2){display:grid;gap:3px;min-width:0}.agent-launch strong{font-size:10px}.agent-launch small{color:#8d938b;font-size:8px}.agent-launch>b{margin-left:auto;color:var(--lime)}.agent-orb{position:relative;width:31px;height:31px;flex:0 0 auto;border-radius:50%;background:radial-gradient(circle at 35% 30%,#efffb7 0,var(--lime) 30%,#57915b 70%,#223f32 100%);box-shadow:0 0 0 3px rgba(200,242,91,.09)}.agent-orb i{position:absolute;left:12px;top:12px;width:7px;height:7px;border:2px solid #21402f;border-radius:50%}.user-row{min-width:0;display:flex;align-items:center;gap:9px;padding:9px}.user-avatar{width:29px;height:29px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#363026;background:#ebe1c8;font-size:9px;font-weight:800}.user-row>span:nth-child(2){min-width:0;display:grid;gap:2px}.user-row strong,.user-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-row strong{font-size:10px}.user-row small{max-width:115px;color:#888f86;font-size:8px}.user-row form{margin-left:auto}.user-row form button{border:0;color:#8b9188;background:transparent}.app-workspace{min-height:100vh;margin-left:235px}.app-topbar{position:sticky;top:0;z-index:20;height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 35px;border-bottom:1px solid rgba(211,210,202,.78);background:rgba(244,243,237,.9);backdrop-filter:blur(18px)}.app-topbar>div{display:flex;align-items:center;gap:8px;color:#73786f;font-size:10px;font-weight:650}.live-dot{width:7px;height:7px;border-radius:50%;background:#77984d;box-shadow:0 0 0 4px #e5ecd8}.top-actions{display:flex!important;gap:7px!important}.icon-button,.menu-button{width:34px;height:34px;border:1px solid #d8d7d0;border-radius:8px;background:#faf9f4}.menu-button{display:none}.agent-top{height:34px;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;padding:0 11px;color:#f6f7f2;background:#272b27;font-size:9px}.agent-top i{width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 7px var(--lime)}kbd{padding:2px 4px;border:1px solid currentColor;border-radius:4px;opacity:.5;font:8px Inter,sans-serif}.app-content{width:min(1190px,calc(100% - 60px));margin:0 auto;padding:42px 0 60px}.view{display:none}.view.active{display:block;animation:fade .2s ease}@keyframes fade{from{opacity:.2;transform:translateY(4px)}}
/* Dashboard */
.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:27px}.welcome-row h1,.view-head h1{margin:7px 0 9px;font:500 clamp(34px,4vw,48px)/1.05 Georgia,serif;letter-spacing:-1px}.welcome-row>div>p:last-child,.view-head p:last-child{margin:0;color:var(--muted);font-size:12px}.daily-insight{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;margin-bottom:17px;padding:13px 15px;border:1px solid #d9dfcb;border-radius:11px;background:linear-gradient(90deg,#edf3e1,#f8f7ef)}.daily-insight>span{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;color:#345541;background:#ddf0a7}.daily-insight>div{display:flex;align-items:baseline;gap:14px}.daily-insight strong{color:#34503f;font-size:10px}.daily-insight p{margin:0;color:#737a6b;font-size:10px}.daily-insight button,.surface-head button,.goal-highlight>button{border:0;color:#5d744e;background:transparent;font-size:9px;font-weight:750}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}.metric,.surface{border:1px solid var(--line);border-radius:12px;background:rgba(255,254,249,.94);box-shadow:0 5px 20px rgba(34,38,32,.025)}.metric{position:relative;min-height:142px;padding:15px}.metric-icon{position:absolute;left:15px;top:15px;width:27px;height:27px;display:grid;place-items:center;border-radius:7px;font-size:11px;font-weight:800}.metric-icon.green{color:#347158;background:#def1e4}.metric-icon.purple{color:#685e8d;background:#ece7f3}.metric-icon.amber{color:#8b6829;background:#f5e9cb}.metric-icon.coral{color:#965c4d;background:#f4e2dc}.metric>small{display:block;margin:5px 0 19px 38px;color:#9a9e95;font-size:8px;font-weight:800;letter-spacing:1px}.metric>strong{display:block;font:500 25px Georgia,serif}.metric>p{min-height:13px;margin:5px 0 12px;color:#8d9289;font-size:8px}.meter{height:4px;overflow:hidden;border-radius:5px;background:#e8e9e2}.meter i{display:block;width:0;height:100%;border-radius:inherit;background:#68a578;transition:width .4s}.meter.amber i{background:#d8ab55}.week-dots{display:flex;gap:5px}.week-dots i{width:10px;height:4px;border-radius:4px;background:#e1e3dc}.week-dots i.done{background:#8f83ad}.dashboard-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:12px;margin-bottom:12px}.surface{padding:20px}.surface-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.surface-head span{color:#9a9e94;font-size:8px;font-weight:800;letter-spacing:1.3px}.surface-head h2,.settings-form h2{margin:4px 0 0;font:500 21px Georgia,serif}.quick-form{height:39px;display:flex;align-items:center;border:1px dashed #d1d1c7;border-radius:8px;padding:0 9px;background:#f6f5ef}.quick-form input{flex:1;border:0;outline:0;background:transparent;font-size:10px}.quick-form button{border:0;color:#969b92;background:transparent;font-size:8px}.compact-list{display:grid}.compact-row{min-height:49px;display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid #eeece6}.compact-row:last-child{border:0}.task-toggle{width:17px;height:17px;display:grid;place-items:center;border:1px solid #c6c8c0;border-radius:5px;color:transparent;background:transparent;font-size:8px}.compact-row.completed .task-toggle{color:#294333;border-color:#b6da7b;background:#ceeaa4}.compact-row.completed strong{text-decoration:line-through;color:#969a92}.compact-copy{display:grid;gap:3px}.compact-copy strong{font-size:10px}.compact-copy small,.compact-row time{color:#92978e;font-size:8px}.empty-state{padding:24px;color:#94998f;text-align:center;font-size:10px}.timeline{display:grid}.timeline-row{min-height:58px;display:grid;grid-template-columns:45px 3px 1fr;align-items:center;gap:10px}.timeline-row time{color:#737a70;text-align:right;font-size:8px}.timeline-line{height:38px;border-radius:5px;background:var(--lime)}.timeline-row:nth-child(2n) .timeline-line{background:#d8bc82}.timeline-row:nth-child(3n) .timeline-line{background:#88a5ba}.timeline-row div{display:grid;gap:4px}.timeline-row strong{font-size:10px}.timeline-row small{color:#959a91;font-size:8px}.dashboard-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.goal-highlight{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:14px}.ring{width:57px;height:57px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--lime) 0 0%,#e6e7df 0);position:relative}.ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--card)}.ring span{position:relative;z-index:1;font:500 13px Georgia,serif}.goal-highlight h3{margin:5px 0;font:500 15px Georgia,serif}.goal-highlight p{margin:0;color:#92978d;font-size:8px}.latest-note p{margin:11px 0;font:italic 14px/1.5 Georgia,serif}.latest-note small{color:#969b91;font-size:8px}
/* Módulos */
.view-head{margin-bottom:24px}.entry-form{display:grid;grid-template-columns:1.4fr repeat(3,minmax(120px,.7fr)) auto;gap:8px;margin-bottom:18px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fffef9}.entry-form input,.entry-form select,.entry-form textarea,.settings-form select,.settings-form input{min-width:0;border:1px solid #d8d8cf;border-radius:8px;padding:0 10px;background:#f8f7f2;outline:0;font-size:10px}.entry-form input,.entry-form select{height:40px}.entry-form textarea{min-height:100px;padding-top:11px;resize:vertical}.entry-form input:focus,.entry-form select:focus,.entry-form textarea:focus{border-color:#86a66a;box-shadow:0 0 0 3px rgba(134,166,106,.12)}.entry-form.note-form{grid-template-columns:1fr 180px}.entry-form.note-form textarea{grid-column:1/-1}.check-label{display:flex!important;align-items:center!important;gap:7px!important;text-transform:none!important;letter-spacing:0!important}.check-label input{width:15px!important;height:15px!important}.data-list{display:grid;gap:8px}.data-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:10px;background:var(--card)}.data-main{min-width:0;display:grid;gap:5px}.data-main strong{overflow:hidden;text-overflow:ellipsis;font-size:11px}.data-main small{color:#8f948b;font-size:8px}.data-value{font:500 14px Georgia,serif}.row-actions{display:flex;gap:5px}.row-actions button{min-width:28px;height:28px;border:1px solid #d9dad2;border-radius:7px;color:#757b71;background:#f8f7f2;font-size:9px}.row-actions button:hover{border-color:#bb6e60;color:#9e493b}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.data-card{min-height:150px;display:flex;flex-direction:column;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.data-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.data-card h3{margin:0;font:500 17px Georgia,serif}.data-card p{margin:12px 0;color:#676d64;font-size:10px;line-height:1.55;white-space:pre-wrap}.data-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;color:#949990;font-size:8px}.data-card footer button,.habit-check{border:1px solid #d9dad2;border-radius:7px;padding:6px 8px;color:#5e6c58;background:#f5f6ef;font-size:8px}.habit-check.done{color:#2e503d;border-color:#b8d58a;background:#dff0bf}.progress-bar{height:6px;overflow:hidden;border-radius:6px;background:#e8e9e2}.progress-bar i{display:block;height:100%;border-radius:inherit;background:#84a66a}.finance-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.finance-chip{padding:15px;border:1px solid var(--line);border-radius:10px;background:var(--card)}.finance-chip small{display:block;color:#93988e;font-size:8px;text-transform:uppercase;letter-spacing:1px}.finance-chip strong{display:block;margin-top:7px;font:500 20px Georgia,serif}.amount-income{color:#3d7858}.amount-expense{color:#a65b4b}.settings-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-form .surface{display:grid;align-content:start;gap:13px}.settings-form h2{margin-bottom:7px}.settings-form>button{grid-column:1/-1;justify-self:start}.setting-help{margin:0;color:#888e84;font-size:9px;line-height:1.55}.audit-surface{margin-top:22px}
/* Agente */
.agent-backdrop{position:fixed;inset:0;z-index:60;display:flex;justify-content:flex-end;visibility:hidden;opacity:0;background:rgba(24,27,24,.27);backdrop-filter:blur(3px);transition:.2s}.agent-backdrop.open{visibility:visible;opacity:1}.agent-panel{width:min(440px,100%);height:100%;display:flex;flex-direction:column;padding:20px;background:#f8f7f1;box-shadow:-20px 0 70px rgba(20,23,20,.16);transform:translateX(25px);transition:.2s}.agent-backdrop.open .agent-panel{transform:none}.agent-panel header{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #dfded7}.agent-panel header>div{display:flex;align-items:center;gap:11px}.agent-orb.large{width:39px;height:39px}.agent-orb.large i{left:16px;top:16px}.agent-panel header div div{display:grid;gap:3px}.agent-panel header strong{font:500 18px Georgia,serif}.agent-panel header small{color:#7b8178;font-size:8px}.agent-panel header small i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#77a660}.agent-panel header>button{border:0;color:#757a72;background:transparent;font-size:24px}.context-pills{display:flex;align-items:center;gap:5px;padding:11px 0;overflow:auto;white-space:nowrap}.context-pills span{margin-right:3px;color:#8c9187;font-size:7px;text-transform:uppercase;letter-spacing:1px}.context-pills b{padding:4px 7px;border:1px solid #d8dad1;border-radius:10px;color:#687164;background:#f2f4ec;font-size:7px}.agent-messages{flex:1;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:14px 2px}.agent-message{max-width:88%;padding:12px 14px;border-radius:12px;font-size:10px;line-height:1.55;white-space:pre-wrap}.agent-message.assistant{align-self:flex-start;border-bottom-left-radius:3px;color:#414d42;background:#e9eee0}.agent-message.user{align-self:flex-end;border-bottom-right-radius:3px;color:#f7f7f2;background:#283029}.agent-message.error{color:#873e33;background:#f4e2dc}.agent-message.loading:after{content:"";display:inline-block;width:12px;height:4px;margin-left:6px;border-radius:4px;background:linear-gradient(90deg,#7b9270 30%,transparent 30%);background-size:6px 4px;animation:move 1s linear infinite}@keyframes move{to{background-position:12px}}.prompt-suggestions{display:flex;gap:6px;padding:8px 0;overflow:auto}.prompt-suggestions button{white-space:nowrap;border:1px solid #d7d8cf;border-radius:15px;padding:7px 10px;background:#fffefa;font-size:8px}.agent-form{min-height:52px;display:grid;grid-template-columns:30px 1fr 30px;align-items:end;gap:6px;padding:8px;border:1px solid #d7d6cf;border-radius:12px;background:#fffef9}.agent-form>button{width:30px;height:30px;border:0;border-radius:8px;color:#687169;background:transparent}.agent-form textarea{min-height:30px;max-height:120px;padding:7px 3px;border:0;outline:0;resize:none;background:transparent;font-size:10px}.agent-form .send-button{color:#203227;background:var(--lime);font-weight:800}.agent-form #voice-button.listening{color:#fff;background:#b85c49;animation:pulse 1s infinite}@keyframes pulse{50%{box-shadow:0 0 0 6px rgba(184,92,73,.15)}}.voice-controls{display:flex;justify-content:space-between;padding:9px 3px;color:#92978e;font-size:8px}.voice-controls label{display:flex;gap:5px}.toast{position:fixed;right:22px;bottom:22px;z-index:100;max-width:350px;visibility:hidden;opacity:0;transform:translateY(8px);padding:11px 14px;border-radius:9px;color:#fff;background:#2d352e;box-shadow:var(--shadow);font-size:10px;transition:.2s}.toast.show{visibility:visible;opacity:1;transform:none}.toast.error{background:#963f34}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.card-grid{grid-template-columns:repeat(2,1fr)}.entry-form{grid-template-columns:repeat(2,1fr)}.entry-form .primary-button{grid-column:2}.dashboard-bottom{grid-template-columns:1fr}.settings-form{grid-template-columns:1fr}.settings-form>button{grid-column:1}}
@media(max-width:760px){.app-sidebar{transform:translateX(-100%);transition:.2s}.app-sidebar.open{transform:none;box-shadow:20px 0 60px rgba(0,0,0,.22)}.app-brand #close-menu{display:block}.app-workspace{margin-left:0}.app-topbar{padding:0 16px}.menu-button{display:block}.agent-top kbd{display:none}.app-content{width:calc(100% - 28px);padding-top:27px}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row .primary-button{width:100%}.daily-insight{grid-template-columns:34px 1fr}.daily-insight>div{display:grid;gap:3px}.daily-insight>button{grid-column:2;text-align:left;padding:0}.dashboard-grid{grid-template-columns:1fr}.entry-form,.entry-form.note-form{grid-template-columns:1fr}.entry-form.note-form textarea{grid-column:auto}.entry-form .primary-button{grid-column:auto}.card-grid{grid-template-columns:1fr}.settings-form{grid-template-columns:1fr}.goal-highlight{grid-template-columns:60px 1fr}.goal-highlight>button{grid-column:2;text-align:left;padding:0}.top-actions .icon-button{display:none}}
@media(max-width:470px){.metric-grid{grid-template-columns:1fr}.app-topbar>div:first-of-type{display:none}.agent-top{font-size:8px}.surface{padding:16px}.finance-summary{grid-template-columns:1fr}.auth-card{padding:28px 22px}.user-row small{max-width:100px}}
.setup-page{align-items:start;padding-top:45px;padding-bottom:45px}.setup-card{width:min(760px,100%)}.setup-card .auth-brand{margin-bottom:28px}.setup-form fieldset{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:18px;border:1px solid #deded5;border-radius:11px;background:#fbfaf6}.setup-form legend{padding:0 8px;color:#445144;font:600 15px Georgia,serif}.setup-form fieldset label:last-of-type:nth-child(odd){grid-column:1/-1}.setup-note{grid-column:1/-1;margin:0;color:#858b81;font-size:10px;line-height:1.55}.setup-form>.primary-button{margin-top:4px}@media(max-width:620px){.setup-page{padding-top:20px}.setup-form fieldset{grid-template-columns:1fr}.setup-form fieldset label,.setup-form fieldset label:last-of-type:nth-child(odd){grid-column:1}.setup-note{grid-column:1}}

/* Ollama local y administración multiusuario */
.secondary-button{min-height:34px;border:1px solid #cfd2c8;border-radius:8px;padding:0 12px;color:#39483b;background:#f5f6ef;font-size:9px;font-weight:750}.secondary-button:hover{border-color:#91a57b;background:#eef3e5}.ollama-test-row{display:flex;align-items:center;gap:10px}.ollama-test-row span{color:#727970;font-size:9px}.ollama-banner{margin:0 0 5px;padding:10px 12px;border:1px solid #e3c5bb;border-radius:9px;color:#7c4439;background:#f7e9e4;font-size:9px;line-height:1.5}.agent-panel header small.offline i{background:#b96352}.agent-confirmation{align-self:stretch;padding:13px;border:1px solid #d9c98e;border-radius:11px;background:#fff8df;box-shadow:0 7px 22px rgba(61,51,24,.06)}.agent-confirmation p{margin:0;white-space:pre-wrap;color:#554b2f;font-size:9px;line-height:1.55}.agent-confirmation>div{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.agent-confirmation button{min-height:30px;border:1px solid #d2c9a9;border-radius:7px;padding:0 10px;color:#665c3d;background:#fffdf5;font-size:8px;font-weight:750}.agent-confirmation button.confirm{color:#fff;border-color:#354a38;background:#354a38}.agent-confirmation small{display:block;margin-top:8px;color:#77715d;font-size:8px}.agent-form textarea:disabled{opacity:.55}.agent-form .send-button:disabled{cursor:wait;opacity:.55}.user-entry-form{grid-template-columns:1fr 1.2fr 1fr 1fr auto}.form-note{grid-column:1/-1;margin:0;color:#848a80;font-size:9px;line-height:1.5}.user-data-row .row-actions button{padding:0 9px}.admin-badge{display:inline-block;margin-left:6px;padding:3px 6px;border-radius:8px;color:#365239;background:#e5efce;font:700 7px Inter,sans-serif;text-transform:uppercase;letter-spacing:.5px}.user-status{padding:5px 8px;border-radius:9px;font-size:8px;font-weight:750}.user-status.active{color:#356048;background:#e0efe2}.user-status.inactive{color:#875044;background:#f3e1dc}.portal-dialog{width:min(430px,calc(100% - 30px));border:1px solid #d8d9d0;border-radius:15px;padding:0;color:var(--ink);background:#fffef9;box-shadow:0 30px 90px rgba(22,25,21,.3)}.portal-dialog::backdrop{background:rgba(24,27,24,.42);backdrop-filter:blur(3px)}.portal-dialog form{display:grid;gap:14px;padding:22px}.portal-dialog header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:4px}.portal-dialog h2{margin:4px 0 3px;font:500 24px Georgia,serif}.portal-dialog header small{color:#888d84;font-size:9px}.portal-dialog header button{border:0;color:#777d74;background:transparent;font-size:22px}.portal-dialog label{display:grid;gap:7px;color:#666b62;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.6px}.portal-dialog input{height:42px;border:1px solid #d8d8cf;border-radius:8px;padding:0 11px;background:#faf9f4;outline:0}.portal-dialog .primary-button{justify-self:start}.portal-dialog .form-note{grid-column:auto}
@media(max-width:1050px){.user-entry-form{grid-template-columns:1fr 1fr}.user-entry-form .primary-button{grid-column:2}}
@media(max-width:760px){.user-entry-form{grid-template-columns:1fr}.user-entry-form .primary-button{grid-column:auto}.user-data-row{grid-template-columns:1fr}.user-data-row .row-actions{justify-content:flex-start}}

/* Experiencia 2.1: una interfaz más legible, cálida y orientada a la acción */
:root{--paper:#f3f4ee;--card:#fffdfa;--line:#dfe1d8;--forest:#254f40;--lime:#c9ed6b;--muted:#6f756c;--soft-green:#edf4df;--soft-blue:#e7f0f3;--soft-amber:#f7edd8;--shadow:0 18px 45px rgba(37,48,39,.07)}
.app-page{background:radial-gradient(circle at 88% 5%,rgba(207,232,178,.28),transparent 29%),linear-gradient(135deg,#f7f6f1,#eef1e9)}
.app-sidebar{width:250px;padding:28px 18px 20px;background:linear-gradient(180deg,#1e2621,#18201c);border-right-color:#344139}
.app-workspace{margin-left:250px}
.app-brand{padding-bottom:34px;font-size:24px}.brand-glyph{width:34px;height:34px;border-radius:11px}
.side-item{height:44px;border-radius:11px;font-size:13px}.side-item>span{font-size:16px}.side-label{font-size:10px}
.agent-launch{border-radius:14px;padding:12px 10px}.agent-launch strong{font-size:12px}.agent-launch small,.user-row small{font-size:10px}.user-row strong{font-size:12px}
.app-topbar{height:72px;padding:0 38px;background:rgba(247,247,242,.88)}.app-topbar>div{font-size:12px}.agent-top{height:39px;border-radius:11px;font-size:11px}
.app-content{width:min(1280px,calc(100% - 70px));padding:46px 0 72px}
.welcome-row h1,.view-head h1{font-size:clamp(38px,4vw,54px)}.welcome-row>div>p:last-child,.view-head p:last-child{font-size:14px;line-height:1.55}
.daily-insight{padding:16px 18px;border-radius:15px}.daily-insight strong,.daily-insight p{font-size:12px}.daily-insight button,.surface-head button,.goal-highlight>button{font-size:11px}
.metric,.surface{border-radius:17px;box-shadow:0 10px 30px rgba(43,52,44,.045)}.metric{min-height:164px;padding:19px}.metric>small{font-size:9px}.metric>strong{font-size:29px}.metric>p{font-size:10px}.surface{padding:23px}
.surface-head span,.eyebrow{font-size:10px}.surface-head h2,.settings-form h2{font-size:24px}.quick-form{height:45px;border-radius:11px}.quick-form input{font-size:12px}.compact-row{min-height:58px}.compact-copy strong,.timeline-row strong{font-size:12px}.compact-copy small,.compact-row time,.timeline-row small,.timeline-row time{font-size:10px}.empty-state{font-size:12px}
.entry-form{padding:16px;border-radius:16px;gap:10px}.entry-form input,.entry-form select{height:46px}.entry-form input,.entry-form select,.entry-form textarea,.settings-form select,.settings-form input{border-radius:10px;font-size:12px}.data-row{padding:16px 18px;border-radius:14px}.data-main strong{font-size:13px}.data-main small{font-size:10px}.data-card{min-height:178px;padding:20px;border-radius:17px}.data-card h3{font-size:20px}.data-card p{font-size:12px}.data-card footer{font-size:10px}.primary-button{min-height:44px;border-radius:11px;font-size:12px}.secondary-button{min-height:40px;border-radius:10px;font-size:11px}

/* Calendario mensual */
.calendar-view-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.notification-control{display:grid;justify-items:end;gap:7px}.notification-control small{max-width:260px;color:#858b82;text-align:right;font-size:9px;line-height:1.45}.reminder-permission{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:#fff}.reminder-permission span{color:#d39246}.reminder-permission.enabled{color:#345b47;border-color:#bcd39b;background:#edf5df}.reminder-permission.enabled span{color:#5d8b5f}.reminder-permission:disabled{cursor:not-allowed;opacity:.62}
.reminder-center{display:grid;grid-template-columns:43px 1fr;align-items:center;gap:13px;margin-bottom:16px;padding:14px 17px;border:1px solid #d7dfc8;border-radius:15px;background:linear-gradient(100deg,#edf4df,#faf9f3);transition:.25s}.reminder-center.due{border-color:#d9ad5e;background:#fff2cd;box-shadow:0 0 0 5px rgba(217,173,94,.12)}.reminder-bell{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#365847;background:#dcebbd;font-size:21px}.reminder-center strong{font-size:12px}.reminder-center p{margin:4px 0 0;color:#6e766b;font-size:11px}
.calendar-shell{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.7fr);align-items:start;gap:16px}.calendar-surface,.day-panel{border:1px solid var(--line);border-radius:20px;background:rgba(255,253,250,.96);box-shadow:var(--shadow)}
.calendar-surface{overflow:hidden}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;padding:23px 24px;border-bottom:1px solid #e6e6df}.calendar-toolbar h2{margin:5px 0 0;font:500 28px Georgia,serif;text-transform:capitalize}.calendar-actions{display:flex;gap:7px}.calendar-actions button{min-width:40px;height:39px;border:1px solid #d9ddd3;border-radius:10px;padding:0 12px;color:#465449;background:#f8f8f3;font-size:11px;font-weight:700}.calendar-actions button:first-child{color:#fff;border-color:var(--forest);background:var(--forest)}
.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);padding:12px 13px 8px}.calendar-weekdays span{color:#8b9188;text-align:center;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 13px 14px}.calendar-loading{grid-column:1/-1;display:grid;place-items:center;min-height:530px;color:#828a80;font-size:13px}.calendar-loading.error{color:var(--danger)}
.calendar-day{position:relative;min-width:0;height:104px;display:flex;flex-direction:column;gap:7px;padding:9px;border:0;border-top:1px solid #ebece6;border-right:1px solid #ebece6;color:#303831;background:transparent;text-align:left;transition:background .16s,box-shadow .16s}.calendar-day:nth-child(7n){border-right:0}.calendar-day:hover{z-index:1;background:#f2f6e9}.calendar-day.outside{color:#a7aaa3;background:#faf9f6}.calendar-day.selected{z-index:2;border-radius:11px;background:#eef5df;box-shadow:inset 0 0 0 2px #83a86b}.calendar-day.today .day-number{color:#fff;background:var(--forest)}
.day-number{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;font-size:12px;font-weight:800}.day-previews{min-width:0;display:grid;gap:4px;overflow:hidden}.calendar-preview,.calendar-more{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:5px;padding:3px 5px;font-size:9px}.calendar-preview.event{color:#3e5f4b;background:#e3efd5}.calendar-preview.task{color:#446271;background:#e3edf1}.calendar-more{color:#7d827b;padding-top:1px;background:transparent;font-weight:700}
.day-panel{position:sticky;top:88px;overflow:hidden}.day-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:23px;border-bottom:1px solid #e8e8e1}.day-panel-head h2{margin:5px 0 4px;font:500 23px/1.15 Georgia,serif;text-transform:capitalize}.day-panel-head p:last-child{margin:0;color:#81877e;font-size:11px}.day-panel-head>button{min-height:38px;border:0;border-radius:10px;padding:0 12px;color:#fff;background:var(--forest);font-size:11px;font-weight:750;white-space:nowrap}.day-items{display:grid;gap:8px;max-height:440px;overflow:auto;padding:14px}.day-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;border:1px solid #e4e5de;border-radius:13px;background:#fafaf6}.day-item>div{min-width:0}.day-item strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px}.day-item p,.day-item small{margin:4px 0 0;color:#858c82;font-size:9px}.day-item>button:last-child{width:28px;height:28px;border:0;border-radius:8px;color:#93988f;background:transparent}.day-item-time{min-width:49px;color:#345c47;font-size:10px;font-weight:800}.task-item{background:#f4f7f8}.task-item>span:last-child{color:#74848a;font-size:9px}.task-item.completed{opacity:.55}.task-item.completed strong{text-decoration:line-through}.day-empty{display:grid;justify-items:center;padding:35px 18px;text-align:center}.day-empty>span{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;color:#8b762f;background:#f5ebc9;font-size:22px}.day-empty strong{margin-top:12px;font:500 17px Georgia,serif}.day-empty p{margin:6px 0 0;color:#858b82;font-size:10px}
.day-event-form{display:grid;gap:12px;padding:19px 20px 22px;border-top:1px solid #e5e6df;background:#f8f8f3}.day-event-form[hidden]{display:none}.day-event-form h3{margin:0 0 2px;font:500 20px Georgia,serif}.day-event-form label{display:grid;gap:6px;color:#676e65;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.6px}.day-event-form input,.day-event-form select{width:100%;height:42px;border:1px solid #d6d9d0;border-radius:10px;padding:0 10px;background:#fff;outline:0;font-size:11px}.day-event-form input:focus,.day-event-form select:focus{border-color:#81a268;box-shadow:0 0 0 3px rgba(129,162,104,.12)}.event-time-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:3px}

/* Metas con avance editable */
.goal-create-form{grid-template-columns:1.5fr repeat(4,minmax(105px,.7fr)) auto}.goals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.goal-card{min-height:270px}.goal-card.completed{border-color:#bed49f;background:linear-gradient(145deg,#fffefa,#f1f7e6)}.goal-status{display:inline-flex;align-items:center;min-height:24px;border-radius:12px;padding:0 9px;color:#55704f;background:#eaf2db;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.6px}.goal-card>header>button{width:29px;height:29px;border:0;border-radius:8px;color:#8d928a;background:#f2f3ed}.goal-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-top:17px}.goal-title-row h3{font-size:23px}.goal-title-row strong{color:#4f754e;font:500 25px Georgia,serif}.goal-card>p{margin:7px 0 13px}.goal-progress{height:9px}.goal-progress i{background:linear-gradient(90deg,#6c9c67,#b9de67)}.goal-progress-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;margin:19px 0}.goal-progress-form label{display:grid;gap:6px;color:#737970;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.goal-progress-form input{width:100%;height:43px;border:1px solid #d6d9d0;border-radius:10px;padding:0 11px;background:#fafaf6;outline:0}.goal-progress-form input:focus{border-color:#81a268;box-shadow:0 0 0 3px rgba(129,162,104,.12)}.goal-progress-form button{min-height:43px}.goal-progress-form button:disabled{opacity:.55}

@media(max-width:1150px){.calendar-shell{grid-template-columns:1fr}.day-panel{position:static}.day-items{max-height:none}.goal-create-form{grid-template-columns:repeat(3,1fr)}.goal-create-form .primary-button{grid-column:3}.goals-grid{grid-template-columns:1fr}}
@media(max-width:760px){.app-sidebar{width:250px}.app-workspace{margin-left:0}.app-content{width:calc(100% - 28px)}.calendar-view-head{align-items:flex-start;flex-direction:column}.reminder-permission{width:100%;justify-content:center}.calendar-toolbar{padding:18px}.calendar-toolbar h2{font-size:23px}.calendar-weekdays{padding-inline:5px}.calendar-grid{padding:0 5px 8px}.calendar-day{height:72px;padding:5px;border-right:0}.day-number{width:25px;height:25px}.calendar-preview{width:7px;height:7px;padding:0;border-radius:50%;font-size:0}.calendar-more{display:none}.day-previews{display:flex;gap:3px}.day-panel{scroll-margin-top:84px}.goal-create-form{grid-template-columns:1fr}.goal-create-form .primary-button{grid-column:auto}.goals-grid{grid-template-columns:1fr}.goal-progress-form{grid-template-columns:1fr}.goal-progress-form button{width:100%}}
@media(max-width:470px){.calendar-toolbar{align-items:flex-start;flex-direction:column;gap:13px}.calendar-actions{width:100%}.calendar-actions button:first-child{flex:1}.calendar-weekdays span{font-size:8px}.calendar-day{height:63px}.day-panel-head{padding:18px}.event-time-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.goal-title-row h3{font-size:21px}}

/* Instalación y avisos Web Push */
.pwa-install-dialog{width:min(500px,calc(100% - 26px));border-radius:22px}.pwa-install-dialog form{gap:18px;padding:27px}.pwa-dialog-copy{margin:0;color:#6f766d;font-size:11px;line-height:1.65}.install-steps{display:grid;gap:10px;margin:0;padding:0;list-style:none}.install-steps li{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border:1px solid #e2e4da;border-radius:13px;background:#fafaf5}.install-steps li>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:#294836;background:#e4f0d0;font:700 13px Georgia,serif}.install-steps strong,.install-steps small{display:block}.install-steps strong{font-size:11px}.install-steps small{margin-top:4px;color:#858b82;font-size:9px;line-height:1.45}.pwa-install-dialog .primary-button{width:100%;justify-content:center}

@media(max-width:760px){.notification-control{width:100%;justify-items:stretch}.notification-control small{max-width:none;text-align:center}}

/* Nexo 3.0 — sistema visual premium */
:root{--ink:#17221c;--muted:#6d776f;--paper:#f2f2eb;--card:#fffefa;--line:#dce2d9;--lime:#c8f53f;--forest:#173d30;--forest-2:#0d2a21;--danger:#c75c4c;--shadow:0 24px 70px rgba(22,45,34,.09);--shadow-soft:0 10px 35px rgba(24,42,33,.06)}
body{font-size:14px;background:#f2f2eb}.app-page{background:radial-gradient(circle at 92% 3%,rgba(199,238,130,.28),transparent 28%),radial-gradient(circle at 48% 92%,rgba(188,218,201,.26),transparent 34%),#f3f3ec}
.auth-page{background:radial-gradient(circle at 78% 12%,rgba(199,245,63,.18),transparent 28%),radial-gradient(circle at 12% 88%,rgba(62,117,91,.28),transparent 34%),#0b1f18}.auth-card{padding:42px;border-color:rgba(217,234,216,.7);border-radius:28px;background:rgba(255,254,249,.96);box-shadow:0 35px 100px rgba(0,0,0,.34)}.auth-card h1{font-size:40px;letter-spacing:-1.4px}.auth-form input{height:49px;border-radius:13px;background:#f7f8f2}.auth-brand{margin-bottom:48px}
button,input,select,textarea{transition:border-color .18s,background .18s,color .18s,box-shadow .18s,transform .18s}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(126,169,87,.25);outline-offset:2px}.eyebrow{color:#708078;font-size:10px;letter-spacing:1.8px}.primary-button{min-height:48px;border-radius:14px;padding:0 21px;background:linear-gradient(135deg,#1e4a39,#103326);box-shadow:0 12px 30px rgba(20,59,44,.2)}.primary-button:hover{background:linear-gradient(135deg,#285b47,#153d2f);transform:translateY(-1px)}

.app-sidebar{width:276px;padding:26px 20px 18px;color:#f6f7f1;border:0;background:radial-gradient(circle at 20% 0,rgba(114,164,110,.2),transparent 27%),linear-gradient(180deg,#173429 0,#10271f 55%,#0b211a 100%);box-shadow:18px 0 60px rgba(23,45,34,.08)}.app-workspace{margin-left:276px}.app-brand{gap:13px;padding:1px 10px 31px;font-size:26px;letter-spacing:-.5px}.app-brand .brand-glyph{width:40px;height:40px;border-radius:14px;background:linear-gradient(145deg,#dcff74,#94cc58);box-shadow:0 8px 24px rgba(185,235,91,.2)}.side-label{margin:0 13px 11px;color:#779082;font-size:9px;letter-spacing:1.7px}.app-sidebar nav{gap:5px}.side-item{height:46px;gap:13px;border-radius:13px;padding:0 13px;color:#a9bbb0;font-size:12px}.side-item>span{width:22px;color:#819b8b;font-size:16px}.side-item:hover{color:#fff;background:rgba(255,255,255,.065);transform:translateX(2px)}.side-item.active{color:#173125;background:linear-gradient(100deg,#d6fb70,#b9e85f);box-shadow:0 10px 24px rgba(150,211,82,.15)}.side-item.active>span{color:#173125}.side-item b{background:rgba(255,255,255,.09)}.side-bottom{gap:9px}.agent-launch{min-height:64px;border-color:rgba(216,255,128,.16);border-radius:17px;padding:12px;background:linear-gradient(120deg,rgba(255,255,255,.075),rgba(255,255,255,.035))}.agent-launch:hover{border-color:rgba(216,255,128,.3);transform:translateY(-1px)}.agent-launch strong{font-size:11px}.agent-launch small{color:#88a093;font-size:9px}.user-row{padding:10px 8px}.user-avatar{width:34px;height:34px;color:#173125;background:#d9f27e}.user-row strong{font-size:11px}.user-row small{font-size:9px}

.app-topbar{height:78px;padding:0 44px;border-color:rgba(205,214,205,.72);background:rgba(247,248,242,.79);backdrop-filter:blur(22px) saturate(130%)}.app-topbar>div{font-size:11px;letter-spacing:.15px}.live-dot{background:#78a95f;box-shadow:0 0 0 5px rgba(120,169,95,.13)}.agent-top{height:40px;border-radius:12px;padding:0 14px;background:#17372b;box-shadow:0 8px 22px rgba(23,55,43,.15)}.icon-button,.menu-button{width:40px;height:40px;border-color:#d5ddd4;border-radius:12px;background:rgba(255,255,255,.75)}.app-content{width:min(1380px,calc(100% - 84px));padding:54px 0 86px}.view.active{animation:nexoIn .35s cubic-bezier(.2,.75,.25,1)}@keyframes nexoIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.welcome-row,.view-head{margin-bottom:31px}.welcome-row h1,.view-head h1{margin:8px 0 10px;font:500 clamp(42px,4.2vw,61px)/.98 Georgia,"Times New Roman",serif;letter-spacing:-2.2px}.welcome-row>div>p:last-child,.view-head p:last-child{max-width:680px;color:#6e7a72;font-size:14px;line-height:1.65}.daily-insight{grid-template-columns:42px 1fr auto;gap:15px;margin-bottom:19px;padding:17px 19px;border-color:#d9e5cd;border-radius:18px;background:linear-gradient(105deg,rgba(228,244,201,.88),rgba(255,254,248,.84));box-shadow:var(--shadow-soft)}.daily-insight>span{width:40px;height:40px;border-radius:13px;background:#daf28d}.daily-insight strong{font-size:11px}.daily-insight p{font-size:11px}.daily-insight button{font-size:10px}
.metric-grid{gap:15px;margin-bottom:15px}.metric,.surface{border-color:rgba(215,223,214,.92);border-radius:22px;background:rgba(255,254,250,.9);box-shadow:var(--shadow-soft);transition:transform .22s,box-shadow .22s,border-color .22s}.metric:hover,.surface:hover{border-color:#cbd9c9;box-shadow:0 20px 48px rgba(24,46,34,.09);transform:translateY(-2px)}.metric{min-height:178px;padding:21px}.metric-icon{left:21px;top:20px;width:34px;height:34px;border-radius:11px}.metric>small{margin:6px 0 24px 44px;font-size:9px}.metric>strong{font-size:31px;letter-spacing:-.7px}.metric>p{margin:7px 0 16px;font-size:10px}.meter{height:6px}.surface{padding:25px}.dashboard-grid,.dashboard-bottom{gap:15px;margin-bottom:15px}.surface-head{margin-bottom:18px}.surface-head h2,.settings-form h2{font-size:26px}.quick-form{height:48px;border-radius:13px;padding:0 13px}.quick-form input{font-size:12px}.compact-row{min-height:62px}.timeline-row{min-height:66px}.timeline-line{height:43px;border-radius:8px}.goal-highlight{grid-template-columns:68px 1fr auto}.ring{width:66px;height:66px}.latest-note p{font-size:16px}

.entry-form{gap:11px;margin-bottom:22px;padding:17px;border-color:#d9e0d8;border-radius:20px;background:rgba(255,254,250,.9);box-shadow:var(--shadow-soft)}.entry-form input,.entry-form select{height:48px}.entry-form input,.entry-form select,.entry-form textarea,.settings-form select,.settings-form input{border-color:#d8dfd7;border-radius:13px;padding-inline:13px;background:#f9faf5;font-size:12px}.data-list{gap:10px}.data-row{padding:17px 19px;border-color:#dce2da;border-radius:17px;box-shadow:0 6px 20px rgba(28,48,37,.03)}.data-main strong{font-size:13px}.data-main small{margin-top:1px;font-size:10px}.row-actions button{height:32px;border-radius:10px}.card-grid{gap:14px}.data-card{min-height:190px;padding:22px;border-color:#dce2da;border-radius:21px;box-shadow:var(--shadow-soft);transition:transform .2s,box-shadow .2s}.data-card:hover{box-shadow:0 18px 45px rgba(25,44,34,.08);transform:translateY(-2px)}.data-card h3{font-size:22px}.data-card p{font-size:11px}.data-card footer{font-size:9px}.settings-form{gap:15px}.settings-form .surface{gap:16px}.audit-surface{margin-top:28px}

.calendar-surface,.day-panel{border-color:#d9e1d8;border-radius:24px;box-shadow:var(--shadow-soft)}.calendar-toolbar{padding:26px 27px}.calendar-toolbar h2{font-size:30px}.calendar-actions button{height:42px;border-radius:12px}.calendar-day{height:112px;padding:11px}.calendar-day:hover{background:#f0f6e8}.calendar-day.selected{border-radius:14px;background:linear-gradient(145deg,#edf7de,#e5f1d8);box-shadow:inset 0 0 0 2px #82ad69}.day-panel-head{padding:26px}.day-panel-head h2{font-size:25px}.day-items{gap:10px;padding:17px}.day-item{padding:14px;border-radius:15px}.reminder-center{padding:16px 19px;border-radius:18px;box-shadow:var(--shadow-soft)}

.goal-card{min-height:290px}.goal-progress-form input{height:46px;border-radius:12px}.goal-status{min-height:27px}.progress-bar{height:8px}

.agent-panel{width:min(500px,100%);padding:24px;background:radial-gradient(circle at 8% 0,rgba(205,238,159,.2),transparent 28%),#f7f7f1}.agent-panel header{padding-bottom:19px}.agent-panel header strong{font-size:21px}.agent-message{padding:14px 16px;border-radius:16px;font-size:11px;line-height:1.65}.agent-message.assistant{background:#e7eedc}.agent-message.user{background:#17372b}.agent-form{min-height:59px;border-radius:16px;padding:10px}.agent-form textarea{font-size:11px}.toast{right:28px;bottom:28px;max-width:390px;padding:14px 17px;border-radius:14px;background:#17372b;font-size:11px}

/* Finanzas — superficie nocturna propia */
.finance-view{margin:-54px -42px -86px;padding:54px 42px 86px;min-height:calc(100vh - 78px);color:#eff4ef;background:radial-gradient(circle at 77% 4%,rgba(128,179,85,.17),transparent 27%),radial-gradient(circle at 15% 88%,rgba(44,90,71,.3),transparent 33%),#09110e}.finance-view .eyebrow{color:#829d8d}.finance-view-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:31px}.finance-view-head h1{margin:9px 0 10px;font:500 clamp(43px,4vw,61px)/1 Georgia,serif;letter-spacing:-2px}.finance-view-head>div>p:last-child{margin:0;color:#8ea096;font-size:13px}.finance-month-nav{height:44px;display:flex;align-items:center;gap:4px;border:1px solid #25342d;border-radius:14px;padding:4px;background:#0e1814}.finance-month-nav button{width:35px;height:34px;border:0;border-radius:9px;color:#8fa198;background:transparent}.finance-month-nav button:hover{color:#d4fa58;background:#17241e}.finance-month-nav strong{min-width:145px;color:#cbd5cf;text-align:center;font-size:10px;text-transform:uppercase;letter-spacing:1.6px}
.finance-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.finance-stat{position:relative;min-height:137px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #1d2a24;border-radius:20px;padding:19px;background:linear-gradient(145deg,#111b17,#0d1612);box-shadow:0 20px 50px rgba(0,0,0,.16)}.finance-stat:after{content:"";position:absolute;right:-25px;bottom:-35px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(199,246,62,.11),transparent 68%)}.finance-stat>div:first-child{display:grid;gap:5px}.finance-stat span{color:#8fa098;font-size:10px}.finance-stat small{color:#53665c;font-size:8px}.finance-stat>strong{position:relative;z-index:1;font:600 clamp(21px,2vw,28px)/1.05 "Segoe UI",sans-serif;letter-spacing:-1px}.finance-stat>i{position:absolute;right:18px;top:18px;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#a8d85b;background:#18271f;font-style:normal}.finance-stat.income strong,.finance-stat.balance strong{color:#c9f43f}.finance-stat.expense strong{color:#ff8172}.finance-stat.balance{border-color:#354523;background:linear-gradient(145deg,#172218,#101913)}.finance-stat .negative{color:#ff8172}.finance-budget-meter{height:5px!important;display:block!important;overflow:hidden;border-radius:5px;background:#233028}.finance-budget-meter i{display:block;width:0;height:100%;border-radius:inherit;background:#c9f43f;transition:width .45s}.finance-budget-meter i.over{background:#ff786b}
.finance-primary-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:16px;margin-bottom:16px}.finance-secondary-grid{display:grid;grid-template-columns:minmax(320px,.66fr) minmax(0,1.34fr);gap:16px}.finance-panel{border:1px solid #1d2a24;border-radius:23px;background:linear-gradient(150deg,#0f1814,#0b1310);box-shadow:0 26px 60px rgba(0,0,0,.18)}.finance-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 24px 0}.finance-panel h2{margin:6px 0 0;font:500 25px/1.1 Georgia,serif;letter-spacing:-.5px}.finance-legend{display:flex;gap:15px;padding-top:7px}.finance-legend span{display:flex;align-items:center;gap:6px;color:#677a70;font-size:8px}.finance-legend i{width:14px;height:3px;border-radius:3px}.finance-legend i.income{background:#c9f43f}.finance-legend i.expense{background:#ff6f61}.finance-flow-panel{min-height:400px}.finance-chart{height:244px;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;gap:14px;padding:31px 30px 19px;border-bottom:1px solid #18251f}.finance-week{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:11px;align-items:end}.finance-week>span{color:#52655b;text-align:center;font-size:8px}.finance-bars{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:7px}.finance-bars i{width:min(25px,35%);min-height:3px;border-radius:6px 6px 2px 2px;transition:height .55s cubic-bezier(.2,.75,.25,1)}.finance-bars i.income{background:linear-gradient(180deg,#d6ff51,#87b945);box-shadow:0 -5px 22px rgba(201,244,63,.11)}.finance-bars i.expense{background:linear-gradient(180deg,#ff7b6d,#a8403c)}.finance-flow-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 24px}.finance-flow-panel>footer strong{color:#b4c2ba;font-size:10px}.finance-flow-panel>footer span{color:#5e7167;font-size:9px}.finance-loading{display:grid;place-items:center;min-height:110px;color:#61736a;font-size:10px}
.finance-entry-panel{padding-bottom:24px}.finance-lock{border:1px solid #29372f;border-radius:12px;padding:6px 9px;color:#71867a;font-size:8px;text-transform:uppercase;letter-spacing:1px}.finance-entry-panel form{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:21px 24px 0}.finance-entry-panel fieldset{grid-column:1/-1}.finance-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0;padding:0;border:0}.finance-type-switch legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.finance-type-switch input{position:absolute;opacity:0}.finance-type-switch span{height:42px;display:grid;place-items:center;border:1px solid #25332c;border-radius:13px;color:#667a6f;background:#0b1410;font-size:10px;font-weight:750}.finance-type-switch input:checked+span{color:#d7ff54;border-color:#667d2d;background:#1a2515;box-shadow:inset 0 0 0 1px rgba(201,244,63,.08)}.finance-entry-panel label{display:grid;gap:7px}.finance-entry-panel label>span,.finance-field-label{color:#71857a;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:1px}.finance-amount-field>div{height:48px;display:flex;align-items:center;border:1px solid #26352d;border-radius:13px;background:#111d18}.finance-amount-field b{padding-left:14px;color:#8fa097}.finance-entry-panel input{min-width:0;height:48px;border:1px solid #26352d;border-radius:13px;padding:0 13px;color:#e8eee9;background:#111d18;outline:0}.finance-amount-field input{flex:1;border:0;background:transparent}.finance-entry-panel input:focus,.finance-amount-field>div:focus-within{border-color:#718c3c;box-shadow:0 0 0 3px rgba(201,244,63,.08)}.finance-description-field{grid-column:1/-1}.finance-field-label,.finance-category-list{grid-column:1/-1}.finance-category-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:-4px}.finance-category-list button{min-height:31px;border:1px solid #24322b;border-radius:15px;padding:0 11px;color:#63776c;background:#0c1511;font-size:8px}.finance-category-list button:hover{color:#b7c5bd;border-color:#415449}.finance-category-list button.active{color:#d8ff57;border-color:#637b2d;background:#192315}.finance-date-field{grid-column:1/-1}.finance-date-field input{color-scheme:dark}.finance-submit{grid-column:1/-1;height:49px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:14px;padding:0 17px;color:#0c160f;background:linear-gradient(100deg,#d5ff4b,#aee647);font-size:11px;font-weight:850;box-shadow:0 12px 30px rgba(188,237,69,.1)}.finance-submit:hover{transform:translateY(-1px);box-shadow:0 16px 35px rgba(188,237,69,.16)}.finance-submit:disabled{cursor:wait;opacity:.6}.finance-submit b{font-size:17px}
.finance-categories-panel,.finance-movements-panel{min-height:350px;padding-bottom:22px}.finance-category-breakdown{display:grid;gap:16px;padding:22px 24px 0}.finance-category-row{display:grid;grid-template-columns:9px minmax(0,1fr);gap:11px}.finance-category-dot{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#c9f43f}.finance-category-row>div{min-width:0}.finance-category-row header{display:flex;align-items:center;justify-content:space-between;gap:12px}.finance-category-row strong{color:#aebdb5;font-size:9px}.finance-category-row b{color:#dbe4df;font-size:9px}.finance-category-track{height:4px;overflow:hidden;margin:8px 0 5px;border-radius:4px;background:#1a2821}.finance-category-track i{display:block;height:100%;border-radius:inherit}.finance-category-row small{color:#4e6257;font-size:7px}.tone-0{background:#cbf346!important}.tone-1{background:#78b994!important}.tone-2{background:#e1ad5d!important}.tone-3{background:#9084c8!important}.tone-4{background:#e17266!important}.tone-5{background:#5f91b7!important}.finance-empty{min-height:230px;display:grid;align-content:center;justify-items:center;padding:28px;color:#52665b;text-align:center}.finance-empty span{width:46px;height:46px;display:grid;place-items:center;border:1px solid #28372f;border-radius:15px;color:#9cb25e;background:#121e18;font-size:18px}.finance-empty strong{margin-top:13px;color:#a6b6ad;font:500 15px Georgia,serif}.finance-empty p{max-width:260px;margin:6px 0 0;font-size:9px;line-height:1.5}.finance-empty.compact{min-height:220px}
.finance-movements-panel>header{align-items:center}.finance-filter{display:flex;gap:5px}.finance-filter button{height:30px;border:1px solid #233129;border-radius:13px;padding:0 10px;color:#5e7267;background:#0c1511;font-size:8px}.finance-filter button.active{color:#d7ff54;border-color:#566a2e;background:#182215}.finance-transaction-list{display:grid;padding:14px 24px 0}.finance-transaction-row{min-height:62px;display:grid;grid-template-columns:37px minmax(0,1fr) auto 28px;align-items:center;gap:11px;border-bottom:1px solid #19261f}.finance-transaction-row:last-child{border-bottom:0}.finance-transaction-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;font-size:10px;font-weight:850}.finance-transaction-icon.income{color:#c8f53f;background:#1a2b1b}.finance-transaction-icon.expense{color:#ff8172;background:#2c1917}.finance-transaction-row>div{min-width:0;display:grid;gap:4px}.finance-transaction-row>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c4d0c9;font-size:10px}.finance-transaction-row small{color:#53675c;font-size:8px}.finance-transaction-row>b{font-size:10px}.finance-transaction-row>b.income{color:#c8f53f}.finance-transaction-row>b.expense{color:#ff8172}.finance-transaction-row>button{width:27px;height:27px;border:0;border-radius:9px;color:#53675c;background:transparent}.finance-transaction-row>button:hover{color:#ff8172;background:#241715}

@media(max-width:1180px){.app-sidebar{width:250px}.app-workspace{margin-left:250px}.finance-view{margin-left:-42px;margin-right:-42px;padding-inline:42px}.finance-stat-grid{grid-template-columns:repeat(2,1fr)}.finance-primary-grid{grid-template-columns:1fr}.finance-secondary-grid{grid-template-columns:1fr}.finance-entry-panel form{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.app-sidebar{width:270px}.app-workspace{margin-left:0}.app-topbar{height:68px;padding:0 15px}.app-content{width:calc(100% - 28px);padding:33px 0 60px}.welcome-row h1,.view-head h1{font-size:40px;letter-spacing:-1.4px}.metric-grid{gap:10px}.metric{min-height:160px}.daily-insight{grid-template-columns:40px 1fr}.finance-view{margin:-33px -14px -60px;padding:35px 14px 65px;min-height:calc(100vh - 68px)}.finance-view-head{align-items:flex-start;flex-direction:column}.finance-month-nav{width:100%;justify-content:space-between}.finance-month-nav strong{flex:1}.finance-stat-grid{grid-template-columns:1fr 1fr;gap:9px}.finance-stat{min-height:125px;padding:16px}.finance-stat>strong{font-size:21px}.finance-primary-grid,.finance-secondary-grid{gap:11px}.finance-panel{border-radius:19px}.finance-panel>header{padding:20px 18px 0}.finance-panel h2{font-size:22px}.finance-entry-panel form{padding:18px 18px 0}.finance-chart{height:220px;padding-inline:18px}.finance-flow-panel>footer{padding-inline:18px}.finance-category-breakdown,.finance-transaction-list{padding-inline:18px}.finance-movements-panel>header{align-items:flex-start;flex-direction:column}.finance-filter{width:100%}.finance-filter button{flex:1}.calendar-day{height:78px}.toast{right:14px;bottom:14px;max-width:calc(100% - 28px)}}
@media(max-width:490px){.metric-grid{grid-template-columns:1fr}.finance-stat-grid{grid-template-columns:1fr}.finance-stat{min-height:118px}.finance-entry-panel form{grid-template-columns:1fr}.finance-entry-panel fieldset,.finance-description-field,.finance-field-label,.finance-category-list,.finance-date-field,.finance-submit{grid-column:1}.finance-flow-panel{min-height:360px}.finance-chart{height:205px;gap:7px;padding:26px 12px 17px}.finance-bars{gap:4px}.finance-flow-panel>footer{align-items:flex-start;flex-direction:column}.finance-legend{gap:10px}.finance-transaction-row{grid-template-columns:34px minmax(0,1fr) auto}.finance-transaction-row>button{display:none}.finance-transaction-row>b{font-size:9px}.finance-view-head h1{font-size:42px}}

@media(max-width:490px){.finance-transaction-row{grid-template-columns:34px minmax(0,1fr) auto 26px;gap:8px}.finance-transaction-row>button{display:grid;place-items:center}.finance-transaction-row>b{font-size:8px}}

/* Tareas 3.1 — tablero Kanban Nexo */
.kanban-view{min-width:0}.kanban-view-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:23px}.kanban-view-head h1{margin:8px 0 10px;font:500 clamp(42px,4.2vw,61px)/.98 Georgia,serif;letter-spacing:-2.2px}.kanban-view-head>div:first-child>p:last-child{max-width:610px;margin:0;color:#6e7a72;font-size:14px;line-height:1.65}.kanban-head-actions{display:flex;align-items:center;gap:10px;padding-bottom:3px}.kanban-search{width:245px;height:46px;display:flex;align-items:center;gap:8px;border:1px solid #d7dfd6;border-radius:14px;padding:0 13px;background:rgba(255,255,251,.8);box-shadow:0 8px 25px rgba(24,43,33,.04)}.kanban-search>span{color:#718078;font-size:21px;line-height:1}.kanban-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:11px}.kanban-new-button{height:46px;display:flex;align-items:center;gap:8px;border:0;border-radius:14px;padding:0 16px;color:#173125;background:linear-gradient(105deg,#d3f970,#b9e75f);box-shadow:0 12px 28px rgba(124,177,75,.16);font-size:11px;font-weight:800}.kanban-new-button:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(124,177,75,.23)}.kanban-new-button span{font-size:16px}
.kanban-summary{height:44px;display:grid;grid-template-columns:auto minmax(120px,230px) auto;align-items:center;gap:13px;margin-bottom:15px;border:1px solid rgba(216,224,215,.82);border-radius:14px;padding:0 15px;color:#758179;background:rgba(255,255,251,.65);font-size:9px}.kanban-summary span b{margin-right:3px;color:#26372e;font-size:12px}.kanban-summary>div{height:5px;overflow:hidden;border-radius:8px;background:#e4e8e1}.kanban-summary>div i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5f936d,#b9df58);transition:width .45s}.kanban-summary>strong{color:#5f7067;font-size:9px}
.kanban-board{display:grid;grid-template-columns:repeat(4,minmax(280px,1fr));align-items:start;gap:13px;overflow-x:auto;padding:1px 1px 18px;scrollbar-width:thin;scrollbar-color:#bdc8bd transparent}.kanban-column{position:relative;min-height:540px;overflow:hidden;border:1px solid #dce2da;border-radius:21px;background:linear-gradient(180deg,rgba(247,248,244,.96),rgba(239,242,236,.84));box-shadow:0 14px 40px rgba(28,48,37,.055);transition:border-color .2s,background .2s,box-shadow .2s}.kanban-column.done{order:3}.kanban-column.in-review{order:4}.kanban-column:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:#aeb8b1}.kanban-column.not-started:before{background:#7f9186}.kanban-column.in-progress:before{background:linear-gradient(90deg,#65a17d,#9bc76a)}.kanban-column.done:before{background:linear-gradient(90deg,#8dbc58,#c6ed58)}.kanban-column.in-review:before{background:linear-gradient(90deg,#d5a650,#f0cf70)}.kanban-column.drag-over{border-color:#8cb06c;background:linear-gradient(180deg,#f0f7e7,#eaf2df);box-shadow:0 0 0 4px rgba(150,190,99,.13),0 20px 55px rgba(30,60,40,.11)}.kanban-column>header{height:65px;display:flex;align-items:center;justify-content:space-between;padding:4px 16px 0}.kanban-column>header>div{display:flex;align-items:center;gap:8px;min-width:0}.kanban-column>header h2{margin:0;color:#435048;font-size:10px;font-weight:850;letter-spacing:1px;white-space:nowrap}.kanban-column>header i{width:9px;height:9px;border:2px solid #84948a;border-radius:50%}.kanban-column.in-progress>header i{border-color:#6ca07f;background:#d5ead5}.kanban-column.done>header i{border-color:#88b04d;background:#ccec78}.kanban-column.in-review>header i{border-color:#d4a44d;background:#f4df9b}.kanban-column>header span{min-width:23px;height:21px;display:grid;place-items:center;border-radius:8px;color:#69776f;background:#e4e8e2;font-size:8px;font-weight:800}.kanban-column>header>button{width:30px;height:30px;border:0;border-radius:9px;color:#7a887f;background:transparent;font-size:17px}.kanban-column>header>button:hover{color:#264333;background:#e4ecdf}
.kanban-card-list{min-height:407px;display:grid;align-content:start;gap:10px;padding:0 10px}.kanban-card{position:relative;overflow:hidden;border:1px solid #d9dfd8;border-radius:16px;padding:14px 14px 12px;background:rgba(255,255,252,.98);box-shadow:0 8px 22px rgba(24,43,33,.055);cursor:grab;transition:transform .18s,box-shadow .18s,border-color .18s,opacity .18s}.kanban-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#9aa69e}.kanban-card.priority-high:before{background:#e36d5d}.kanban-card.priority-medium:before{background:#d8ae55}.kanban-card.priority-low:before{background:#69a07e}.kanban-card:hover,.kanban-card:focus-visible{border-color:#bdcabd;box-shadow:0 14px 32px rgba(26,48,35,.1);transform:translateY(-2px)}.kanban-card.dragging{opacity:.35;transform:rotate(1.5deg) scale(.98)}.kanban-card.completed{background:linear-gradient(145deg,#fdfff9,#f4f9eb)}.kanban-card.completed h3{color:#667269;text-decoration:line-through;text-decoration-color:#a7b39f}.kanban-card.overdue{border-color:#edc5bd}.kanban-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.kanban-category{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:9px;padding:5px 8px;color:#587063;background:#edf2e9;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}.kanban-card>header>button{width:25px;height:25px;border:0;border-radius:8px;color:#a0a8a1;background:transparent;font-size:15px}.kanban-card>header>button:hover{color:#b74f42;background:#fae8e3}.kanban-card h3{margin:13px 0 0;color:#213128;font:600 15px/1.35 "Segoe UI",sans-serif;letter-spacing:-.2px}.kanban-card>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:8px 0 0;color:#78837c;font-size:9px;line-height:1.5}.kanban-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:17px}.kanban-due,.kanban-no-date,.kanban-priority{display:flex;align-items:center;gap:4px;color:#7e8982;font-size:8px}.kanban-due i{font-style:normal;font-size:11px}.kanban-due.overdue{color:#c45245;font-weight:750}.kanban-priority i{width:6px;height:6px;border-radius:50%;background:#d9ad54}.kanban-priority.high{color:#b45348}.kanban-priority.high i{background:#df6659}.kanban-priority.low i{background:#65a17c}.kanban-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding-top:11px;border-top:1px solid #edf0eb}.kanban-key{display:flex;align-items:center;gap:5px;color:#728077;font-size:8px;font-weight:750}.kanban-key i{width:16px;height:16px;display:grid;place-items:center;border:1px solid #aab7ae;border-radius:5px;color:#6d9b61;background:#f8faf5;font-style:normal}.kanban-card>footer label{position:relative}.kanban-card>footer label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.kanban-card>footer select{max-width:105px;height:27px;border:1px solid #dde3dc;border-radius:9px;padding:0 23px 0 8px;color:#69776f;background:#f6f8f3;font-size:7px;outline:0;cursor:pointer}
.kanban-add-card{width:calc(100% - 20px);height:41px;display:flex;align-items:center;gap:8px;margin:10px;border:1px dashed #cad3ca;border-radius:13px;padding:0 12px;color:#6f7e75;background:rgba(255,255,255,.36);font-size:9px;font-weight:750}.kanban-add-card:hover{color:#355441;border-color:#9bb58d;background:#edf4e7}.kanban-add-card span{font-size:15px}.kanban-loading,.kanban-empty{min-height:145px;display:grid;align-content:center;justify-items:center;padding:22px;color:#8b968f;text-align:center;font-size:9px}.kanban-empty>span:first-child{width:38px;height:38px;display:grid;place-items:center;margin-bottom:10px;border:1px solid #d6ddd5;border-radius:13px;color:#7d9a6b;background:#f9fbf6;font-size:14px}.kanban-empty strong{color:#6a766e;font-size:10px}.kanban-empty small,.kanban-empty>span:last-child{margin-top:5px;color:#929c95;font-size:8px;line-height:1.45}
.kanban-task-dialog{width:min(570px,calc(100% - 28px));border-radius:25px}.kanban-task-dialog form{gap:16px;padding:27px}.kanban-task-dialog textarea,.kanban-task-dialog select{width:100%;border:1px solid #d8dfd7;border-radius:12px;padding:11px 12px;background:#f8f9f4;outline:0;font-size:11px}.kanban-task-dialog textarea{min-height:88px;resize:vertical}.kanban-task-dialog select{height:44px;padding-block:0}.kanban-task-dialog textarea:focus,.kanban-task-dialog select:focus{border-color:#83a66a;box-shadow:0 0 0 3px rgba(131,166,106,.12)}.kanban-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.kanban-dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:3px}.kanban-dialog-actions .primary-button{min-width:140px}

@media(max-width:1180px){.kanban-view-head{align-items:flex-start;flex-direction:column}.kanban-head-actions{width:100%}.kanban-search{flex:1;width:auto}.kanban-board{grid-template-columns:repeat(4,minmax(300px,1fr))}}
@media(max-width:760px){.kanban-view-head h1{font-size:40px;letter-spacing:-1.4px}.kanban-head-actions{align-items:stretch;flex-direction:column}.kanban-search,.kanban-new-button{width:100%}.kanban-new-button{justify-content:center}.kanban-summary{grid-template-columns:auto 1fr}.kanban-summary>strong{grid-column:1/-1;display:none}.kanban-board{width:calc(100vw - 14px);grid-template-columns:repeat(4,minmax(82vw,1fr));margin-right:-14px;padding-right:14px;scroll-snap-type:x mandatory;scroll-padding-left:0}.kanban-column{min-height:500px;scroll-snap-align:start}.kanban-card-list{min-height:365px}.kanban-card{cursor:default}}
@media(max-width:490px){.kanban-dialog-grid{grid-template-columns:1fr}.kanban-dialog-actions{align-items:stretch;flex-direction:column-reverse}.kanban-dialog-actions button{width:100%}.kanban-task-dialog form{padding:22px 19px}.kanban-card>footer select{max-width:112px}}

/* Dashboard 3.2 — centro de mando diario */
.dashboard-home{min-width:0}.dashboard-command{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.62fr);align-items:stretch;gap:18px;margin-bottom:17px}.dashboard-command-copy{padding:13px 4px 9px}.dashboard-command-copy h1{margin:8px 0 10px;font:500 clamp(44px,4.5vw,64px)/.96 Georgia,serif;letter-spacing:-2.5px}.dashboard-command-copy>p:last-of-type{max-width:670px;margin:0;color:#6e7a72;font-size:14px;line-height:1.65}.dashboard-command-copy>p strong{color:#314a3d}.dashboard-quick-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:23px}.dashboard-quick-actions button{height:37px;display:flex;align-items:center;gap:7px;border:1px solid #d6ded5;border-radius:12px;padding:0 12px;color:#53665b;background:rgba(255,255,251,.72);font-size:9px;font-weight:750}.dashboard-quick-actions button:hover{color:#1b422f;border-color:#a9bf9f;background:#f7faef;transform:translateY(-1px)}.dashboard-quick-actions i{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;color:#33543f;background:#e7efdf;font-style:normal;font-size:10px}
.dashboard-day-score{position:relative;overflow:hidden;display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:18px;border:1px solid #29453a;border-radius:26px;padding:25px;color:#f4f7f2;background:radial-gradient(circle at 88% 5%,rgba(202,246,64,.19),transparent 35%),linear-gradient(145deg,#173e30,#102d23);box-shadow:0 24px 65px rgba(20,55,41,.2)}.dashboard-day-score:after{content:"";position:absolute;right:-58px;bottom:-78px;width:190px;height:190px;border:1px solid rgba(215,255,114,.1);border-radius:50%}.dashboard-score-ring{position:relative;width:108px;height:108px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--lime) 0 0%,rgba(255,255,255,.12) 0 100%);box-shadow:0 0 35px rgba(192,239,72,.08)}.dashboard-score-ring:after{content:"";position:absolute;inset:9px;border-radius:50%;background:#17392d}.dashboard-score-ring>span{position:relative;z-index:1;display:grid;justify-items:center;gap:3px}.dashboard-score-ring strong{font:600 23px Georgia,serif}.dashboard-score-ring small{color:#8ca798;font-size:7px;text-transform:uppercase;letter-spacing:.8px}.dashboard-day-score>div:nth-child(2){position:relative;z-index:1;display:grid;gap:7px}.dashboard-day-score>div:nth-child(2)>span{color:#9eb1a6;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:1.3px}.dashboard-day-score>div:nth-child(2)>strong{font:500 20px Georgia,serif}.dashboard-day-score>div:nth-child(2)>p{margin:0;color:#91a79a;font-size:9px;line-height:1.5}.dashboard-day-score>button{position:relative;z-index:1;grid-column:1/-1;height:38px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(211,255,102,.18);border-radius:12px;padding:0 13px;color:#d8e7de;background:rgba(255,255,255,.055);font-size:9px;font-weight:750}.dashboard-day-score>button:hover{border-color:rgba(211,255,102,.34);background:rgba(255,255,255,.09)}.dashboard-day-score>button span{color:#cdf052;font-size:14px}
.dashboard-nexo-brief{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:13px;margin-bottom:16px;border:1px solid #d9e4cf;border-radius:17px;padding:14px 16px;background:linear-gradient(100deg,rgba(230,244,207,.92),rgba(255,254,249,.84));box-shadow:0 9px 30px rgba(31,54,39,.045)}.dashboard-nexo-brief>span{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:#31543f;background:#d9ef98}.dashboard-nexo-brief>div{min-width:0;display:flex;align-items:baseline;gap:14px}.dashboard-nexo-brief strong{flex:0 0 auto;color:#355344;font-size:10px}.dashboard-nexo-brief p{overflow:hidden;margin:0;color:#6d7c72;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.dashboard-nexo-brief button{border:0;color:#526f59;background:transparent;font-size:9px;font-weight:800}
.dashboard-panel{min-width:0;border:1px solid rgba(215,223,214,.94);border-radius:22px;background:rgba(255,254,250,.93);box-shadow:0 12px 38px rgba(24,44,33,.055);transition:border-color .2s,box-shadow .2s,transform .2s}.dashboard-panel:hover{border-color:#ccd8ca;box-shadow:0 19px 48px rgba(24,44,33,.08)}.dashboard-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:23px 24px 0}.dashboard-panel>header h2{margin:6px 0 0;font:500 24px/1.1 Georgia,serif;letter-spacing:-.45px}.dashboard-panel>header button{border:0;color:#617b66;background:transparent;font-size:9px;font-weight:800}.dashboard-primary-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(340px,.78fr);gap:15px;margin-bottom:15px}.dashboard-priority-panel,.dashboard-agenda-panel{min-height:392px}.dashboard-priorities{display:grid;gap:8px;padding:18px 24px 13px}.dashboard-priority-item{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:11px;border:1px solid #e0e5dd;border-radius:15px;padding:12px 12px 12px 10px;background:#fbfcf8;transition:transform .17s,border-color .17s,box-shadow .17s}.dashboard-priority-item:before{content:"";position:absolute;inset:10px auto 10px 0;width:3px;border-radius:0 3px 3px 0;background:#d3aa52}.dashboard-priority-item.priority-high:before{background:#dc6658}.dashboard-priority-item.priority-low:before{background:#64a07a}.dashboard-priority-item:hover{border-color:#c9d5c7;box-shadow:0 9px 25px rgba(28,49,36,.06);transform:translateX(2px)}.dashboard-priority-number{color:#a1aaa3;font:500 11px Georgia,serif}.dashboard-priority-item>div{min-width:0}.dashboard-priority-item header{display:flex;align-items:center;gap:6px}.dashboard-priority-item header span,.dashboard-priority-item header b{border-radius:8px;padding:4px 6px;font-size:7px;text-transform:uppercase;letter-spacing:.55px}.dashboard-priority-item header span{color:#61756a;background:#edf2e9}.dashboard-priority-item header b{color:#7d7060;background:#f4eee1}.dashboard-priority-item h3{overflow:hidden;margin:7px 0 4px;color:#26362d;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.dashboard-priority-item p{margin:0;color:#8a948d;font-size:8px}.dashboard-priority-item p.late{color:#bd5146;font-weight:700}.dashboard-priority-item>button{width:32px;height:32px;border:1px solid #d4ddd3;border-radius:11px;color:#6c8e69;background:#f7faf4;font-weight:850}.dashboard-priority-item>button:hover{color:#234934;border-color:#a8c393;background:#e8f3dc}.dashboard-quick-task{height:42px;display:flex;align-items:center;margin:0 24px 20px;border:1px dashed #cbd5ca;border-radius:13px;padding:0 7px 0 12px;background:#f7f9f4}.dashboard-quick-task input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:10px}.dashboard-quick-task button{width:29px;height:29px;border:0;border-radius:9px;color:#294c38;background:#e1edda;font-size:14px}
.dashboard-agenda-timeline{display:grid;padding:17px 24px 21px}.dashboard-agenda-item{min-height:58px;display:grid;grid-template-columns:52px 3px minmax(0,1fr);align-items:center;gap:11px}.dashboard-agenda-item time{display:grid;justify-items:end;gap:3px}.dashboard-agenda-item time strong{color:#4d5d53;font-size:9px}.dashboard-agenda-item time span{color:#9aa39d;font-size:7px;text-transform:capitalize}.dashboard-agenda-item>i{width:3px;height:40px;border-radius:4px;background:#cdd8cf}.dashboard-agenda-item.next>i{background:#b7df58;box-shadow:0 0 12px rgba(183,223,88,.2)}.dashboard-agenda-item>div{min-width:0}.dashboard-agenda-item>div strong{display:block;overflow:hidden;color:#314139;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.dashboard-agenda-item>div p{overflow:hidden;margin:5px 0 0;color:#8a958e;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.dashboard-kanban-snapshot{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:20px 24px 24px}.dashboard-kanban-row{display:grid;grid-template-columns:minmax(0,1fr) 70px auto;align-items:center;gap:9px;min-height:42px;border:1px solid #e0e5de;border-radius:13px;padding:0 11px;color:#53645a;background:#fafbf7;text-align:left}.dashboard-kanban-row:hover{border-color:#bdccba;background:#f4f8ef}.dashboard-kanban-row>span{display:flex;align-items:center;gap:7px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.55px}.dashboard-kanban-row>span i{width:7px;height:7px;border-radius:50%;background:#89998f}.dashboard-kanban-row.in_progress>span i{background:#70a484}.dashboard-kanban-row.completed>span i{background:#9bc34f}.dashboard-kanban-row.in_review>span i{background:#d4a650}.dashboard-kanban-row>div{height:4px;overflow:hidden;border-radius:5px;background:#e8ece6}.dashboard-kanban-row>div i{display:block;height:100%;border-radius:inherit;background:#92a198}.dashboard-kanban-row.in_progress>div i{background:#74a787}.dashboard-kanban-row.completed>div i{background:#a4cb55}.dashboard-kanban-row.in_review>div i{background:#d8ae58}.dashboard-kanban-row>strong{min-width:18px;color:#33443a;text-align:right;font-size:11px}.dashboard-attention-panel>header>span{min-width:27px;height:27px;display:grid;place-items:center;border-radius:10px;color:#8b5d42;background:#f4e8d9;font-size:9px;font-weight:850}.dashboard-attention-list{display:grid;gap:8px;padding:18px 24px 24px}.dashboard-attention-item{min-height:59px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid #e1e5df;border-radius:14px;padding:9px 11px;color:inherit;background:#fafbf8;text-align:left}.dashboard-attention-item:hover{border-color:#c8d3c5;transform:translateX(2px)}.dashboard-attention-item>span{width:33px;height:33px;display:grid;place-items:center;border-radius:11px;color:#a84e43;background:#f8e4df;font-size:11px;font-weight:850}.dashboard-attention-item.amber>span{color:#8b6728;background:#f5ebcf}.dashboard-attention-item.blue>span{color:#426f82;background:#e2eef2}.dashboard-attention-item.purple>span{color:#655989;background:#ebe7f3}.dashboard-attention-item>div{min-width:0}.dashboard-attention-item strong{display:block;color:#3b4b42;font-size:9px}.dashboard-attention-item p{margin:4px 0 0;color:#89938d;font-size:8px}.dashboard-attention-item>b{color:#8b9990}.dashboard-all-clear{min-height:100px;display:flex;align-items:center;gap:13px;border:1px solid #dce8d6;border-radius:16px;padding:15px;background:#f5f9ef}.dashboard-all-clear>span{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:#3e724d;background:#dff0ca;font-weight:900}.dashboard-all-clear strong{color:#3f5748;font-size:10px}.dashboard-all-clear p{margin:5px 0 0;color:#849087;font-size:8px}
.dashboard-insight-grid{display:grid;grid-template-columns:1.3fr .82fr .88fr;align-items:stretch;gap:15px}.dashboard-weekly-panel{grid-row:span 2;min-height:430px}.dashboard-chart-legend{display:flex;gap:10px;padding-top:6px}.dashboard-chart-legend span{display:flex;align-items:center;gap:5px;color:#829087;font-size:7px}.dashboard-chart-legend i{width:10px;height:3px;border-radius:3px;background:#6fa27f}.dashboard-chart-legend span:last-child i{background:#c4dd62}.dashboard-weekly-chart{height:265px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:9px;padding:31px 25px 18px}.dashboard-week-day{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:end;gap:9px}.dashboard-week-day>div{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.dashboard-week-day i{width:min(16px,38%);min-height:3px;border-radius:5px 5px 2px 2px;transition:height .5s}.dashboard-week-day i.tasks{background:linear-gradient(180deg,#7eb08e,#397159)}.dashboard-week-day i.habits{background:linear-gradient(180deg,#d6ef70,#9ab84d)}.dashboard-week-day>span{color:#8e9992;text-align:center;font-size:8px;text-transform:uppercase}.dashboard-weekly-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 24px;padding:17px 0 22px;border-top:1px solid #e7ebe5}.dashboard-weekly-panel>footer strong{color:#405148;font-size:10px}.dashboard-weekly-panel>footer span{color:#8c9690;font-size:8px}.dashboard-goal-panel{min-height:205px;background:linear-gradient(145deg,#fffefa,#f4f8eb)}.dashboard-goal-panel>header{padding-bottom:13px}.dashboard-goal-panel>div{display:grid;grid-template-columns:69px minmax(0,1fr);align-items:center;gap:14px;padding:0 22px 22px}.dashboard-goal-ring{position:relative;width:67px;height:67px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--lime) 0 0%,#e6e9df 0 100%)}.dashboard-goal-ring:after{content:"";position:absolute;inset:8px;border-radius:50%;background:#fffefa}.dashboard-goal-ring span{position:relative;z-index:1;color:#304a3b;font:600 13px Georgia,serif}.dashboard-goal-panel h3{margin:0 0 7px;font:500 16px/1.25 Georgia,serif}.dashboard-goal-panel p{margin:0;color:#869087;font-size:8px;line-height:1.5}.dashboard-finance-panel{min-height:205px;color:#eff4ef;border-color:#254036;background:radial-gradient(circle at 90% 0,rgba(202,246,64,.14),transparent 35%),linear-gradient(145deg,#153b2d,#102a21)}.dashboard-finance-panel:hover{border-color:#355749}.dashboard-finance-panel .eyebrow{color:#829b8d}.dashboard-finance-panel h2{color:#eff5f0}.dashboard-finance-panel>header button{color:#b6c8bd}.dashboard-finance-panel>strong{display:block;padding:22px 23px 0;color:#ccf34d;font:600 27px "Segoe UI",sans-serif;letter-spacing:-1px}.dashboard-finance-panel>strong.negative{color:#ff8475}.dashboard-finance-panel>p{margin:7px 23px 14px;color:#8fa397;font-size:8px}.dashboard-finance-meter{height:5px;overflow:hidden;margin:0 23px;border-radius:5px;background:rgba(255,255,255,.1)}.dashboard-finance-meter i{display:block;height:100%;border-radius:inherit;background:#c9ef4e}.dashboard-finance-meter i.over{background:#ff7769}.dashboard-finance-panel>footer{display:flex;justify-content:space-between;gap:8px;padding:15px 23px 20px;color:#8ca195;font-size:7px}.dashboard-habits-panel{grid-column:2/4;min-height:205px}.dashboard-habit-score{display:flex;align-items:baseline;gap:8px;padding:18px 24px 8px}.dashboard-habit-score strong{color:#30483b;font:600 25px Georgia,serif}.dashboard-habit-score span{color:#88938c;font-size:8px}.dashboard-habit-list{display:flex;flex-wrap:wrap;gap:7px;padding:5px 24px 23px}.dashboard-habit-item{height:35px;display:flex;align-items:center;gap:7px;border:1px solid #e0e5de;border-radius:12px;padding:0 9px;color:#6c7971;background:#fafbf7;font-size:8px}.dashboard-habit-item>i{width:7px;height:7px;border-radius:50%}.dashboard-habit-item>b{color:#a2aaa4}.dashboard-habit-item.done{color:#365441;border-color:#cadbbe;background:#f0f7e7}.dashboard-habit-item.done>b{color:#70a05f}.dashboard-loading{display:grid;place-items:center;min-height:130px;color:#929c95;font-size:9px}.dashboard-empty{min-height:150px;display:grid;align-content:center;justify-items:center;color:#8c9790;text-align:center}.dashboard-empty>span{width:39px;height:39px;display:grid;place-items:center;margin-bottom:10px;border-radius:13px;color:#4d7756;background:#e4f1d6}.dashboard-empty strong{color:#65746b;font-size:10px}.dashboard-empty p{max-width:250px;margin:6px 0 0;font-size:8px;line-height:1.5}.dashboard-empty.compact{min-height:80px}

@media(max-width:1180px){.dashboard-command{grid-template-columns:1fr}.dashboard-day-score{grid-template-columns:110px minmax(0,1fr) auto}.dashboard-day-score>button{grid-column:auto;min-width:160px}.dashboard-primary-grid{grid-template-columns:1fr}.dashboard-priority-panel,.dashboard-agenda-panel{min-height:auto}.dashboard-signal-grid{grid-template-columns:1fr}.dashboard-insight-grid{grid-template-columns:1fr 1fr}.dashboard-weekly-panel{grid-column:1/-1;grid-row:auto}.dashboard-habits-panel{grid-column:1/-1}}
@media(max-width:760px){.dashboard-command-copy h1{font-size:42px;letter-spacing:-1.5px}.dashboard-day-score{grid-template-columns:90px minmax(0,1fr);padding:20px}.dashboard-score-ring{width:88px;height:88px}.dashboard-day-score>button{grid-column:1/-1}.dashboard-nexo-brief{grid-template-columns:38px minmax(0,1fr)}.dashboard-nexo-brief>div{display:grid;gap:3px}.dashboard-nexo-brief p{white-space:normal}.dashboard-nexo-brief button{grid-column:2;text-align:left;padding:0}.dashboard-kanban-snapshot{grid-template-columns:1fr}.dashboard-insight-grid{grid-template-columns:1fr}.dashboard-weekly-panel,.dashboard-goal-panel,.dashboard-finance-panel,.dashboard-habits-panel{grid-column:auto}.dashboard-weekly-chart{height:225px;padding-inline:18px}.dashboard-panel>header{padding-inline:19px}.dashboard-priorities,.dashboard-agenda-timeline,.dashboard-attention-list{padding-inline:19px}.dashboard-quick-task{margin-inline:19px}.dashboard-habit-list,.dashboard-habit-score{padding-inline:19px}}
@media(max-width:480px){.dashboard-quick-actions{display:grid;grid-template-columns:1fr 1fr}.dashboard-quick-actions button{justify-content:flex-start}.dashboard-day-score{grid-template-columns:1fr;justify-items:center;text-align:center}.dashboard-day-score>div:nth-child(2){justify-items:center}.dashboard-day-score>button{width:100%}.dashboard-priority-item{grid-template-columns:29px minmax(0,1fr) 32px}.dashboard-kanban-row{grid-template-columns:minmax(0,1fr) 55px auto}.dashboard-weekly-panel>footer{align-items:flex-start;flex-direction:column}.dashboard-chart-legend{display:none}.dashboard-finance-panel>footer{flex-direction:column}.dashboard-habit-list{display:grid;grid-template-columns:1fr 1fr}}
