:root{--navy:#102f47;--deep:#0d273c;--panel:#fff;--bg:#f6f8fa;--soft:#eef3f5;--edge:#e4eaf0;--muted:#758595;--text:#193247;--accent:#2b6986;--a2:#e8f2f6;--green:#21846b;--amber:#a46d21;--red:#bd534f;--shadow:0 8px 30px rgba(22,49,72,.035)}*{box-sizing:border-box}html{font-size:14px}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:#246389}a:hover{text-decoration:underline}.hidden{display:none!important}.app{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:#e9f2f7;padding:23px 13px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:12px;align-items:center;margin:2px 11px 28px}.brand-logo{display:grid;place-items:center;background:#ecf4f7;border-radius:13px;color:var(--navy);font-size:21px;font-weight:900;width:40px;height:40px;box-shadow:inset 0 0 0 2px #fff}.brand-logo.large{width:54px;height:54px;font-size:29px;margin-bottom:23px}.brand b{font-size:14px;letter-spacing:.05em}.brand b span{font-weight:400}.brand small{color:#8fb0c4;display:block;font-size:10px;letter-spacing:.07em;margin-top:2px}.scope-card{margin:0 7px 19px;background:#173d57;border:1px solid #28506c;border-radius:13px;padding:12px}.scope-title,.side-title{color:#8caec5;letter-spacing:.12em;font-size:10px;font-weight:800}.scope-switch{display:flex;background:#0d2b42;padding:3px;gap:3px;border-radius:9px;margin-top:9px}.scope-switch button{background:transparent;border:none;color:#a6bfd0;flex:1;border-radius:7px;padding:7px 4px;font-size:11px;font-weight:650}.scope-switch button.selected{background:#e9f3f7;color:#18384f}.side-title{margin:0 13px 8px}.side-title.second{margin-top:22px}.nav{display:flex;align-items:center;width:100%;border:0;background:transparent;color:#c3d8e5;gap:11px;text-align:left;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:620;transition:background .12s}.nav:hover,.nav.active{background:#24506d;color:white}.ni{font-size:17px;width:21px;text-align:center;font-weight:450}.count{margin-left:auto;background:#315b75;color:#e2eef5;padding:1px 6px;min-width:20px;text-align:center;border-radius:6px;font-size:10px}.sidebar-foot{margin-top:auto;border-top:1px solid #315269;padding:17px 9px 1px;display:flex;gap:10px;align-items:center}.sidebar-foot b{display:block;font-size:11px}.sidebar-foot small{font-size:10px;color:#94aec0}.account-dot{width:32px;height:32px;background:#d3e2d9;border:3px solid #416984;border-radius:50%}.sidebar-foot button{border:0;background:transparent;color:#bdd5e2;margin-left:auto;font-size:20px}.shell{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--edge);height:71px;padding:0 clamp(18px,2.8vw,43px);gap:12px}.breadcrumb{font-size:12px;color:#8192a1;display:flex;align-items:center;gap:12px}.breadcrumb span:first-child{font-size:10px;letter-spacing:.08em}.breadcrumb b{color:#2a4358;font-weight:650}.slash{color:#cbd5df}.top-actions{display:flex;align-items:center;gap:11px}.online{font-size:11px;color:var(--green);white-space:nowrap;font-weight:620}.online.error{color:var(--red)}.dot{display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:6px;vertical-align:middle}.btn{border-radius:10px;padding:10px 15px;border:1px solid var(--edge);font-weight:700;font-size:12px;background:white;color:#295068;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}.btn.primary:hover{background:#1b4a6a}.btn.subtle{background:#e9f1f5;border-color:#e3eaf0}.btn.danger{color:var(--red)}.btn.small{padding:6px 10px;font-size:11px}.btn.full{width:100%}.icon-button{border:1px solid var(--edge);background:white;width:33px;height:33px;border-radius:9px;font-size:19px;color:#557082;display:inline-grid;place-items:center}.main{max-width:1430px;margin:0 auto;padding:clamp(22px,3.1vw,42px) clamp(16px,3.2vw,48px) 80px}.page-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:26px;flex-wrap:wrap}.eyebrow{color:#718c9e;font-size:10px;font-weight:820;letter-spacing:.15em;text-transform:uppercase}.page-head h1{font-size:clamp(26px,2.6vw,36px);margin:5px 0 5px;letter-spacing:-.035em;line-height:1.1;color:#172f44;font-weight:780}.page-head p{margin:0;font-size:12px;color:var(--muted);max-width:610px}.date-pill{border:1px solid var(--edge);border-radius:10px;padding:8px 13px;background:white;color:#657e8f;font-size:11px;font-weight:700;text-transform:capitalize}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:24px}.stat{background:white;border:1px solid var(--edge);border-radius:15px;min-height:120px;padding:18px 19px;box-shadow:var(--shadow);position:relative}.stat .small-label{font-size:11px;color:#74889a;font-weight:650}.stat .number{font-size:34px;letter-spacing:-.04em;line-height:1.1;font-weight:760;margin-top:10px}.stat .note{font-size:10px;color:#8aa0b0;margin-top:6px}.stat .stat-icon{position:absolute;right:17px;top:14px;border-radius:9px;background:#f0f5f7;color:#547b90;width:28px;height:28px;display:grid;place-items:center;font-size:16px}.stat.important .number{color:#a86b30}.stat.safe .number{color:var(--green)}.two-col{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:17px;margin-bottom:18px}.panel{border:1px solid var(--edge);background:var(--panel);border-radius:15px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-head{padding:17px 19px;border-bottom:1px solid #ecf0f3;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:14px;margin:0;font-weight:780;letter-spacing:-.01em}.panel-head small{color:#8795a0;font-size:11px}.panel-body{padding:9px 18px 16px}.empty{padding:34px 18px;text-align:center;color:#8b9ca9;font-size:12px}.empty-icon{font-size:30px;display:block;margin-bottom:10px;color:#7ba0af}.task-row{display:flex;align-items:flex-start;gap:11px;padding:12px 3px;border-bottom:1px solid #f0f2f4;min-width:0}.task-row:last-child{border-bottom:0}.check{height:20px;width:20px;flex:0 0 20px;background:white;border-radius:50%;border:1.7px solid #b2c2cc;margin-top:2px;position:relative}.check:hover{border-color:var(--green);background:#e7f5ef}.check.done{background:#e7f5ef;border-color:var(--green)}.check.done:after{content:'✓';font-size:12px;color:var(--green);position:absolute;left:4px;top:0}.task-body{min-width:0;flex:1;cursor:pointer}.task-title{font-weight:680;color:#203b50;font-size:12.5px;line-height:1.4}.task-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px;color:#8c9ba7;font-size:10.5px}.tag{display:inline-flex;align-items:center;gap:4px;border-radius:6px;padding:2px 6px;background:#f1f5f6;font-size:10px;color:#638194}.tag.due{background:#fff4e4;color:#a5742e}.tag.danger{background:#fff0ed;color:#a94d47}.tag.wait{background:#f0edfa;color:#7764a0}.priority{width:5px;height:25px;border-radius:3px;background:#dfe8ee;margin-top:1px}.priority.p1{background:#c7514c}.priority.p2{background:#de9d44}.priority.p3{background:#7d9dab}.list-tools{display:flex;gap:11px;flex-wrap:wrap;align-items:center;margin-bottom:15px}.search{flex:1;min-width:190px;padding:11px 14px;border:1px solid var(--edge);border-radius:10px;outline:none;background:#fff}.search:focus,input:focus,select:focus,textarea:focus{border-color:#81a6bc;box-shadow:0 0 0 3px #dceaf1;outline:none}.select{padding:10px 12px;border:1px solid var(--edge);background:white;border-radius:10px;max-width:270px;color:#577184}.list-panel{background:#fff;border:1px solid var(--edge);border-radius:15px;padding:7px 20px}.list-panel .task-row{padding:14px 2px}.pill-count{font-size:10px;border-radius:20px;background:#eaf1f5;color:#42718a;padding:3px 9px;font-weight:780}.section-quick{background:#eef3f5;border:1px solid #dce7ed;border-radius:15px;padding:16px;display:flex;gap:10px;margin-top:17px}.section-quick input{min-width:0;flex:1;padding:10px 12px;border:1px solid #dae4e9;border-radius:9px}.quick-tip{margin-top:7px;color:#8396a4;font-size:10.5px}.group-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.group-head h3{font-size:13px;margin:0}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:13px}.project{border:1px solid var(--edge);border-radius:13px;background:white;text-align:left;padding:21px;min-height:140px}.project:hover{border-color:#9bbdcc;transform:translateY(-1px)}.project h3{margin:8px 0 2px;font-size:14px}.project p{color:var(--muted);font-size:11px;margin:0}.project-mark{width:30px;height:30px;border-radius:9px;background:#e6f0f5;display:grid;place-items:center;color:#376f8b;font-size:19px}.project-stat{font-size:10px;color:#8593a0;margin-top:18px}.integration-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px}.integration{border:1px solid var(--edge);border-radius:14px;background:white;padding:20px}.integration-icon{width:44px;height:44px;border-radius:11px;background:#e9f2f6;display:grid;place-items:center;font-size:25px;color:#376a83}.integration h3{font-size:15px;margin:14px 0 2px}.integration p{color:#82919d;font-size:11.5px;min-height:49px}.integration .btn{margin-top:10px;width:100%}.notice{border:1px solid #d7e4eb;background:#edf4f7;color:#426a82;border-radius:10px;padding:13px 16px;font-size:12px;margin-bottom:18px}.notice.warning{border-color:#f0dfc5;background:#fff8ee;color:#8d681e}.timeline-entry{border-left:2px solid #d7e3e9;margin-left:11px;padding:1px 0 22px 21px;position:relative}.timeline-entry:before{content:'';position:absolute;left:-6px;top:3px;background:#fff;border:2px solid #8cafbe;width:8px;height:8px;border-radius:50%}.timeline-entry b{display:block;font-size:12px}.timeline-entry p{color:#84929c;font-size:10px;margin:4px 0}.overlay{position:fixed;inset:0;background:rgba(13,36,52,.5);display:flex;justify-content:flex-end;z-index:80}.drawer{width:min(540px,100%);background:#fff;height:100vh;overflow:auto;box-shadow:-9px 0 36px rgba(11,37,59,.1)}.drawer-head{padding:25px 27px 22px;display:flex;justify-content:space-between;gap:10px;align-items:start;border-bottom:1px solid var(--edge)}.drawer-head h2{font-size:22px;letter-spacing:-.035em;margin:7px 0 0}.drawer-head .eyebrow{font-size:10px}.drawer-content{padding:23px 27px 100px}.field{margin-bottom:17px}.field label{display:block;font-size:11px;font-weight:740;color:#567082;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #dce5eb;border-radius:9px;color:var(--text);background:#fff}.field textarea{min-height:94px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid.third{grid-template-columns:1fr 1fr 1fr}.divider{height:1px;background:#e8eef2;margin:19px 0}.form-title{font-size:12px;color:#40667b;font-weight:820;text-transform:uppercase;letter-spacing:.07em;margin:20px 0 11px}.checkfield{display:flex;align-items:center;gap:9px;color:#506c7e;font-size:11px;margin:10px 0}.checkfield input{width:16px;height:16px}.drawer-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--edge);display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:17px 27px}.drawer-footer .btn{min-width:105px}.auth-screen{position:fixed;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 5%,#295b78,var(--deep) 60%);z-index:100;padding:22px}.login-card{background:#fff;border-radius:20px;width:min(440px,100%);padding:42px;box-shadow:0 35px 100px #07172566}.login-card h1{font-size:28px;letter-spacing:-.04em;margin:8px 0 7px}.login-card p{font-size:12px;color:#718594;margin:0 0 26px}.login-card label{display:block;font-size:11px;font-weight:800;margin-bottom:7px}.login-card input{padding:12px;width:100%;border:1px solid var(--edge);border-radius:9px;margin-bottom:17px}.login-card .auth-foot{color:#94a0a8;font-size:10px;text-align:center;margin:20px 0 0}.mobile-menu,.mobile-tabs{display:none}#toast{position:fixed;right:22px;bottom:22px;z-index:200;background:#204760;color:#fff;padding:12px 19px;border-radius:11px;box-shadow:0 8px 30px #15324933;font-size:12px;max-width:410px;display:none}#toast.visible{display:block}#toast.error{background:#a63c3c}.source-list{display:grid;gap:10px}.source-item{background:#fff;border:1px solid var(--edge);padding:15px;border-radius:11px;display:flex;justify-content:space-between;gap:15px}.source-item b{font-size:12px}.source-item p{font-size:10px;color:#8d9dab;margin:6px 0}.source-item .btn{align-self:center}.integration-mini{display:flex;align-items:center;gap:9px;font-size:11px;margin:8px 0;color:#7892a1}.badge-ok{color:#21846b;background:#e9f6ef;padding:4px 7px;border-radius:7px}.badge-off{background:#fff3e0;color:#99711f;padding:4px 7px;border-radius:7px}.hint{font-size:11px;color:#8b9daa}.page-icon{display:inline-block;font-size:21px}.empty-state{padding:50px 20px;text-align:center;background:#fff;border:1px dashed #dbe5ec;border-radius:14px}.empty-state h3{font-size:15px;margin:8px 0}.empty-state p{color:#8799a8;font-size:12px}.mobile-only{display:none}
@media(max-width:1080px){.app{grid-template-columns:208px minmax(0,1fr)}.sidebar{padding-left:8px;padding-right:8px}.stats{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.online{display:none}}
@media(max-width:700px){.app{grid-template-columns:1fr}.sidebar{position:fixed;left:-275px;top:0;width:265px;height:100%;transition:left .2s;box-shadow:12px 0 28px #11304733}.sidebar.open{left:0}.shell{min-height:100vh}.topbar{height:61px;padding:0 16px}.mobile-menu{display:inline-block;background:transparent;color:#315c74;font-size:22px;border:0;padding:0 4px}.breadcrumb span:first-child,.breadcrumb .slash{display:none}.top-actions .btn span{display:none}.top-actions .btn{font-size:17px;padding:5px 12px}.top-actions{gap:8px}.main{padding:25px 15px 110px}.stats{gap:9px}.stat{padding:15px;min-height:100px}.stat .number{font-size:29px}.stat .stat-icon{display:none}.two-col{gap:12px}.panel-head{padding:15px}.panel-body{padding:6px 13px 14px}.list-panel{padding:8px 14px}.page-head{margin-bottom:19px}.page-head h1{font-size:28px}.mobile-tabs{position:fixed;bottom:0;left:0;right:0;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e3ebef;display:grid;grid-template-columns:repeat(5,1fr);z-index:35}.mobile-tabs button{border:0;background:#fff;color:#688697;font-size:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;gap:5px}.mobile-tabs button span{font-size:10px;font-weight:680}.mobile-tabs button.selected{color:#1b536f}.mobile-tabs button[data-action="new-task"]{color:#fff}.mobile-tabs button[data-action="new-task"]:before{content:'';position:absolute;width:43px;height:43px;background:var(--navy);border-radius:13px;z-index:-1;top:3px}.mobile-tabs button[data-action="new-task"] span{color:#587789}.drawer-head{padding:20px}.drawer-content{padding:20px 20px 80px}.drawer-footer{padding:13px 20px}.form-grid.third{grid-template-columns:1fr 1fr}.source-item{flex-wrap:wrap}.integration-grid{grid-template-columns:1fr}.section-quick{padding:12px;gap:6px}.section-quick .btn{padding:9px}.date-pill{display:none}.mobile-only{display:block}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* V6 · Focus first, clear legal boundaries, mobile first */
.focus-hero{border:1px solid #c4d8e2;border-radius:17px;background:linear-gradient(140deg,#fff 30%,#edf5f7 105%);padding:24px;margin-bottom:22px;box-shadow:0 10px 32px #18384b0a}
.focus-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px}.focus-head h2{font-size:22px;margin:3px 0 4px;letter-spacing:-.025em}.focus-head p{font-size:11px;color:#708593;margin:0}.focus-counter{font-size:12px;background:#e2eef4;padding:4px 9px;border-radius:100px;color:#24617d;vertical-align:3px}.focus-time{border:1px solid #d3e4ea;background:#fff;padding:9px 12px;border-radius:10px;font-size:11px;color:#496b80;font-weight:700;white-space:nowrap}.focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.focus-item{background:white;border:1px solid #e0e9ee;border-radius:12px;min-width:0;padding:13px}.focus-step{font-size:10px;letter-spacing:.09em;color:#648398;font-weight:800}.focus-item-body .task-row{border:0;padding:7px 0}.focus-item-body .task-title{font-size:12px}.focus-item-body .task-meta{font-size:9px}.focus-empty{grid-column:1/-1;background:#ffffffc2;border:1px dashed #b2cbd8;border-radius:11px;padding:18px;color:#6b8798;font-size:12px}.focus-button{border:0;border-radius:8px;background:transparent;color:#9aafbe;font-size:19px;line-height:1;flex:0 0 28px;height:28px}.focus-button:hover,.focus-button.on{color:#b88438;background:#fff6e5}.review-link{margin-top:21px;border-top:1px solid #dae8ef;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#6d8798}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.review-description{font-size:10px;color:#8395a2;margin:3px 0 0}.review-banner{padding:17px 18px;border-radius:12px;background:#eaf2f6;border:1px solid #d5e4ed;margin-bottom:18px;color:#325d76}.review-banner p{font-size:11px;margin:4px 0 0}.project-pills{display:flex;gap:7px;margin-top:16px}.project-pills span{font-size:10px;color:#476e83;border-radius:7px;background:#edf3f6;padding:4px 8px}.focus-item .icon-button{display:none}
@media(max-width:1080px){.focus-grid{grid-template-columns:1fr 1fr}.review-grid{grid-template-columns:1fr}}
@media(max-width:700px){.focus-hero{padding:17px;margin-bottom:16px}.focus-grid{grid-template-columns:1fr}.focus-head{align-items:flex-start;flex-direction:column}.focus-head h2{font-size:20px}.focus-time{padding:5px 10px}.focus-item{padding:9px 12px}.review-link{flex-wrap:wrap}.review-grid{gap:12px}.focus-item-body .icon-button{display:none}}

.system-note{display:flex;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--edge);border-radius:13px;margin:18px 0;padding:17px}.system-note div{flex:1;min-width:240px}.system-note b,.system-note span{display:block}.system-note b{font-size:11px}.system-note span{font-size:10px;color:#768d9c;margin-top:5px}

/* V7: incorporación segura de doble factor, sin paneles de configuración complejos. */
.mfa-code{font-size:22px;font-weight:750;letter-spacing:2px;line-height:1.6;overflow-wrap:anywhere;border:1px solid #b7cbd3;padding:14px;margin:15px 0 20px;background:#edf5f7;border-radius:10px;text-align:center;user-select:all}
#mfa-form{display:grid;gap:8px}
#mfa-form input{width:100%}


/* v9.2 · ChatGPT handoff. No decorative badges or untrusted HTML. */
.prompt-callout{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin:0 0 20px;border:1px solid var(--edge);background:#fff;border-radius:15px;flex-wrap:wrap}
.prompt-callout strong{font-size:13px;color:var(--navy)}
.prompt-callout p{font-size:12px;color:var(--muted);margin:5px 0 0}
.prompt-callout-actions{display:flex;gap:8px;flex-wrap:wrap}
.prompt-layout textarea,.prompt-layout input,.prompt-layout select{width:100%;max-width:100%;box-sizing:border-box;margin:6px 0 14px}
.prompt-layout textarea{border:1px solid var(--edge);padding:12px;border-radius:10px;line-height:1.5;resize:vertical;color:var(--text);background:white}
.prompt-layout #prompt-preview{font-size:12px;min-height:420px;background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.prompt-layout .prompt-full{width:100%;white-space:normal}
.prompt-layout label{display:block;font-size:12px;font-weight:750;margin-top:10px}
.prompt-layout .prompt-check{display:flex;align-items:flex-start;gap:9px;line-height:1.5;font-weight:600}
.prompt-layout .prompt-check input{width:17px;min-width:17px;height:17px;margin:1px 0 0}
.prompt-context-summary{padding:11px 12px;border-radius:9px;background:#f0f5f8;font-size:13px;overflow-wrap:anywhere}
.prompt-evidence{padding:13px;background:#f4f7f9;border:1px solid var(--edge);border-radius:11px;font-size:12px;margin-bottom:10px}
.prompt-evidence p{margin:5px 0 0}
.prompt-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px}
.prompt-steps div{min-width:0}
.prompt-steps b{font-size:12px}
.prompt-steps p{font-size:11px;color:var(--muted);margin:6px 0 0}
@media(max-width:1000px){.prompt-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-top span{display:none}}
@media(max-width:650px){.prompt-callout{align-items:flex-start}.prompt-callout-actions .btn{flex:1;white-space:normal}.prompt-steps{grid-template-columns:1fr 1fr}.prompt-layout #prompt-preview{min-height:320px}.prompt-top{display:none}}
