/* Dashboard/Launcher aprobado. El selector .sf-suite limita el contrato al portal. */
.sf-suite{--sf-blue:#075cc8;--sf-blue-dark:#064098;--sf-navy:#0b2a60;--sf-border:#d8e2ef;--sf-muted:#61718a;height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr);grid-template-rows:68px minmax(0,1fr);background:#f8fafc;color:var(--sf-navy);overflow:hidden;font:14px/1.35 "Segoe UI",Arial,sans-serif}
.sf-suite *{box-sizing:border-box}.sf-suite button,.sf-suite select,.sf-suite a{font:inherit}.sf-suite button,.sf-suite a{cursor:pointer}.sf-suite button:focus-visible,.sf-suite select:focus-visible,.sf-suite a:focus-visible{outline:3px solid #74aef1;outline-offset:2px}
.sf-sidebar{grid-row:1/3;display:flex;flex-direction:column;min-height:0;padding:0 10px 12px;background:linear-gradient(180deg,#063b91 0%,#075fca 100%);color:#fff;overflow:hidden}
.sf-brand{height:68px;display:flex;align-items:center;gap:11px;padding:0 9px;border-bottom:1px solid #ffffff1f}.sf-brand img{width:35px;height:35px;padding:5px;border-radius:8px;background:linear-gradient(135deg,#a02ee7,#5a29b4);filter:none}.sf-brand strong{font-size:21px;letter-spacing:-.02em}
.sf-sidebar nav{flex:1;min-height:0;overflow:auto;padding-top:13px;scrollbar-width:thin;scrollbar-color:#ffffff45 transparent}.sf-sidebar nav>button{width:100%;min-height:44px;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#fff;text-align:left}.sf-sidebar nav>button.active{background:#0b6fe2}.sf-sidebar nav>button span{width:21px;height:21px}.sf-sidebar nav>button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9}.sf-sidebar nav>button em{font-style:normal;font-weight:700}.sf-sidebar nav>button i{font-style:normal;text-align:right}
.sf-sidebar nav>.sf-sidebar-module{grid-template-columns:29px minmax(0,1fr);gap:10px;min-height:41px;height:41px;padding:4px 12px}.sf-sidebar nav>.sf-sidebar-module:hover{background:#ffffff16}.sf-sidebar nav>.sf-sidebar-module em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-sidebar-empty{display:block;padding:12px;color:#dbeaff}
.sf-app-icon{width:34px;height:34px;display:grid;place-items:center;flex:none;background:transparent}.sf-app-icon img{width:27px;height:27px;object-fit:contain}.sf-app-icon b{color:#075cc8}
.sf-sidebar .sf-app-icon,.sf-sidebar .sf-app-icon img{width:29px!important;height:29px!important}
.sf-sidebar-status-host{flex:none;min-height:73px;margin-top:10px}.sf-sidebar-status-host .suite-sidebar-status{position:static!important;inset:auto!important;width:100%!important;min-height:73px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;margin:0!important;padding:10px 11px!important;border:1px solid #ffffff55!important;border-radius:10px!important;background:#ffffff0d!important;color:#fff!important;box-shadow:none!important;text-align:left!important}.sf-sidebar-status-host .suite-sidebar-status:hover{background:#ffffff17!important;color:#fff!important}.sf-sidebar-status-host .suite-sidebar-status-icon{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border:1px solid #ffffff2e!important;border-radius:50%!important;background:transparent!important;font-size:21px!important}.sf-sidebar-status-host .suite-sidebar-status>span:last-child{display:grid!important;gap:4px!important}.sf-sidebar-status-host .suite-sidebar-status b{font-size:12px!important}.sf-sidebar-status-host .suite-sidebar-status small{display:flex!important;color:#d9eaff!important;font-size:11px!important}.sf-sidebar-status-host .suite-sidebar-status small i{display:inline-block!important;width:7px!important;height:7px!important;margin-right:0!important;border-radius:50%!important;background:#3de270!important}.sf-sidebar-status-host .suite-sidebar-status.is-offline small i{background:#ff7979!important}
.sf-topbar{grid-column:2;display:flex;align-items:stretch;justify-content:flex-end;min-width:0;height:68px;background:linear-gradient(90deg,#0647a6,#075dc7);color:#fff}.sf-top-actions{display:flex;align-items:stretch;margin-left:auto}.sf-top-actions>button{position:relative;flex:none;border:0;border-left:1px solid #ffffff20;background:transparent;color:#fff}.sf-top-actions>button:hover{background:#ffffff12}
.sf-header-tasks{width:188px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 14px}.sf-header-tasks>svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sf-header-tasks strong{font-size:14px;white-space:nowrap}.sf-header-tasks i,.sf-bell i{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#f23748;color:#fff;font-style:normal;font-weight:800}.sf-header-tasks i[hidden],.sf-bell i[hidden]{display:none}
.sf-header-tasks[aria-expanded="true"]{background:#ffffff1a;box-shadow:inset 0 -3px #8fd0ff}
.sf-tasks-popover{position:fixed;z-index:11000;width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 86px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #c8d7e9;border-radius:10px;background:#fff;box-shadow:0 18px 48px #08275340;color:#102b5d}.sf-tasks-popover>header{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #dce5f1}.sf-tasks-popover h2{margin:0;font-size:17px;color:#0d2c61}.sf-tasks-popover header p{margin:2px 0 0;color:#63748c;font-size:11px}.sf-tasks-popover>header>button{width:32px;height:32px;border:0;border-radius:7px;background:#edf4fd;color:#154a89;font-size:21px}.sf-tasks-popover-list{min-height:0;overflow:auto;padding:4px 12px}.sf-tasks-popover-item{width:100%;min-height:66px;display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:9px;padding:8px 2px;border:0;border-bottom:1px solid #e3e9f1;background:#fff;color:#173765;text-align:left}.sf-tasks-popover-item:hover,.sf-tasks-popover-item:focus-visible{background:#f6faff}.sf-tasks-popover-item:last-child{border-bottom:0}.sf-tasks-popover-item .sf-task-check{width:34px;height:34px}.sf-tasks-popover-item .sf-task-check svg{width:23px;height:23px}.sf-tasks-popover-item>span:nth-child(2){display:grid;min-width:0}.sf-tasks-popover-item b,.sf-tasks-popover-item small,.sf-tasks-popover-item em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-tasks-popover-item b{font-size:12px}.sf-tasks-popover-item small,.sf-tasks-popover-item em{font-size:10px;color:#60718a}.sf-tasks-popover-item em{font-style:normal}.sf-tasks-popover-item>i{font-size:20px;font-style:normal}.sf-tasks-popover-state{min-height:146px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:22px;text-align:center;color:#667892}.sf-tasks-popover-state b{color:#173765}.sf-tasks-popover-state.is-error{color:#a23c36}.sf-tasks-popover>footer{padding:9px 12px;border-top:1px solid #dce5f1}.sf-tasks-popover>footer button{width:100%;min-height:34px;border:0;border-radius:6px;background:#edf5ff;color:#075cc8;font-weight:700}
.sf-bell{width:88px;display:grid;place-items:center}.sf-bell>svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sf-bell i{position:absolute;right:15px;top:8px;min-width:21px;height:21px;font-size:11px}
.sf-user{width:222px;display:grid;grid-template-columns:44px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:0 14px;text-align:left}.sf-user>span:first-child{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#eef5ff;color:#124487;font-weight:800}.sf-user-copy{display:grid;min-width:0}.sf-user-copy b,.sf-user-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-user-copy b{font-size:14px}.sf-user-copy small{font-size:12px;color:#e2edff}.sf-user em{font-style:normal;text-align:right}
.sf-workspace{min-width:0;min-height:0;overflow:auto;padding:24px;background:#f9fbfd}.sf-dashboard-filters{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(190px,1fr) auto auto;gap:16px;margin-bottom:20px}.sf-dashboard-filters>*{min-width:0;width:100%}.sf-dashboard-filters select,.sf-dashboard-filters button{min-height:44px;padding:0 16px;border:1px solid var(--sf-border);border-radius:7px;background:#fff;color:#173765}.sf-dashboard-filters button{display:flex;align-items:center;justify-content:center;gap:8px}.sf-dashboard-filters button.active{border-color:#e35555;background:#fff3f3;color:#b42318}.sf-dashboard-filters svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.sf-dashboard-grid{display:grid;grid-template-columns:minmax(460px,1.04fr) minmax(460px,1.16fr);gap:14px;align-items:start}.sf-panel{min-width:0;border:1px solid var(--sf-border);border-radius:9px;background:#fff;box-shadow:0 1px 2px #18395e08;overflow:hidden}.sf-panel>header{min-height:49px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #e3e9f1}.sf-panel h2{margin:0;font-size:17px;color:#0d2c61}.sf-panel h3{margin:0}.sf-dashboard-right{display:grid;gap:12px}
.sf-task-list{min-height:220px;padding:0 14px}.sf-dashboard-task{width:100%;min-height:75px;display:grid;grid-template-columns:46px minmax(0,1fr) auto 90px 18px;align-items:center;gap:11px;padding:10px 4px;border:0;border-bottom:1px solid #e3e9f1;background:#fff;color:var(--sf-navy);text-align:left}.sf-dashboard-task:last-child{border-bottom:0}.sf-dashboard-task:hover{background:#f8fbff}.sf-task-check{width:41px;height:41px;display:grid;place-items:center;border-radius:7px;background:#075cc8;color:#fff}.sf-task-check svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}.sf-dashboard-task>span:nth-child(2){display:grid;min-width:0}.sf-dashboard-task b,.sf-dashboard-task small,.sf-dashboard-task em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-dashboard-task b{font-size:14px}.sf-dashboard-task small{font-size:12px;color:#435c7f}.sf-dashboard-task em{font-size:11px;color:#7a8799;font-style:normal}.sf-dashboard-task time{font-size:11px;text-align:right;color:#2d405c}.sf-dashboard-task>i{font-size:25px;color:#395675;font-style:normal}.sf-priority{padding:4px 10px;border-radius:999px;background:#fff4db;color:#976000;font-size:11px;font-weight:700;white-space:nowrap}.sf-priority.high,.sf-priority.urgent{background:#ffe2e2;color:#c32e2e}.sf-priority.normal{background:#ffede2;color:#c65a14}.sf-priority.low{background:#fff4d7;color:#9d6a00}
.sf-notices .sf-section-empty{min-height:103px}
.sf-summary{min-height:315px}.sf-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:12px}.sf-summary-grid article{min-height:95px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--sf-border);border-radius:8px;background:#fbfdff;text-align:center}.sf-summary-grid article:nth-child(2){background:#f7fff8}.sf-summary-grid article:nth-child(3){background:#fbf8ff}.sf-summary-grid article:nth-child(4){background:#fffaf5}.sf-summary-grid b{font-size:23px;color:#075cc8}.sf-summary-grid article:nth-child(2) b{color:#168437}.sf-summary-grid article:nth-child(3) b{color:#7b3bb5}.sf-summary-grid article:nth-child(4) b{color:#e4660d}.sf-summary-grid span{font-size:11px}.sf-recent-head{padding:0 13px 7px;border-bottom:1px solid #e3e9f1}.sf-recent-head h3{font-size:13px}.sf-recent-list{padding:0 13px}.sf-recent-list>button{width:100%;min-height:52px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 0;border:0;border-bottom:1px solid #e3e9f1;background:#fff;color:var(--sf-navy);text-align:left}.sf-recent-list>button:last-child{border-bottom:0}.sf-recent-list>button>span:nth-child(2){display:grid}.sf-recent-list b{font-size:12px}.sf-recent-list small,.sf-recent-list time{font-size:10px;color:#66768c}.sf-recent-dot{width:25px;height:25px;border-radius:50%;background:#e6f1ff;box-shadow:inset 0 0 0 7px #fff;border:2px solid #63a4ee}
.sf-mobile>header{min-height:66px}.sf-mobile>header p{margin:4px 0 0;color:#405471;font-size:12px}.sf-mobile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px}.sf-mobile-card{min-width:0;display:flex;flex-direction:column;padding:14px;border:1px solid var(--sf-border);border-radius:9px;background:#fff}.sf-mobile-card>header{display:flex;align-items:center;gap:10px}.sf-mobile-icon{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:10px}.sf-mobile-icon>img{width:100%;height:100%;object-fit:contain}.sf-mobile-icon>.sf-app-icon{width:48px;height:48px}.sf-mobile-card h3{font-size:13px}.sf-mobile-card header small{display:inline-block;margin-top:4px;padding:3px 7px;border-radius:4px;background:#f0f3f8;color:#68778d;font-size:10px}.sf-mobile-card>p:not(.sf-mobile-download-status){min-height:46px;margin:10px 0;color:#314762;font-size:11px}.sf-mobile-card dl{display:grid;gap:5px;margin:0 0 12px}.sf-mobile-card dl>div{display:flex;gap:5px;font-size:10px}.sf-mobile-card dt{color:#6a7789}.sf-mobile-card dd{margin:0;font-weight:650}.sf-mobile-download{min-height:38px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:auto;border:0;border-radius:6px;background:#075fcf;color:#fff;font-weight:750}.sf-mobile-card:nth-child(2)>.sf-mobile-download{background:#7223aa}.sf-mobile-card:nth-child(3)>.sf-mobile-download{background:#178b22}.sf-mobile-download svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.sf-mobile-download:disabled{cursor:default;background:#dce4ee!important;color:#68778d}.sf-mobile-download-status{min-height:14px;margin:5px 0 0;color:#526783;font-size:9px;text-align:center}.sf-view-all-mobile{width:100%;min-height:37px;border:0;border-top:1px solid #e3e9f1;background:#fff;color:#075cc8;font-weight:700}.sf-view-all-mobile span{font-size:20px;margin-left:10px}
.sf-section-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;text-align:center;color:#64758c}.sf-section-empty b{color:#2a4264}.sf-section-empty.compact{min-height:70px}.sf-section-empty.is-error{color:#a23c36}.sf-section-empty button{margin-top:7px;padding:7px 12px;border:1px solid #9dbce2;border-radius:6px;background:#fff;color:#075cc8}.sf-section-skeleton{display:grid;gap:10px;padding:18px}.sf-section-skeleton i{height:48px;border-radius:7px;background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7);background-size:200% 100%;animation:sf-skeleton 1.2s infinite}@keyframes sf-skeleton{to{background-position:-200% 0}}
.sf-notification-layer,.sf-mobile-layer{position:fixed;inset:0;z-index:12000}.sf-notification-shade,.sf-mobile-shade{position:absolute;inset:0;width:100%;height:100%;border:0;background:#061a3d70}.sf-notification-panel,.sf-mobile-center{position:absolute;right:18px;top:76px;width:min(440px,calc(100vw - 24px));max-height:calc(100vh - 94px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #cbd9eb;border-radius:12px;background:#fff;box-shadow:0 20px 60px #051d4650;color:#102b5d}.sf-notification-panel>header,.sf-mobile-center>header{display:flex;justify-content:space-between;padding:20px;border-bottom:1px solid #dce5f1}.sf-notification-panel>header small,.sf-mobile-center>header small{color:#6132a2;font-weight:800;letter-spacing:.08em}.sf-notification-panel h2,.sf-mobile-center h2{margin:3px 0;font-size:21px}.sf-notification-panel header p,.sf-mobile-center header p{margin:0;color:#687a94}.sf-notification-panel>header>button,.sf-mobile-center>header>button{width:34px;height:34px;border:0;border-radius:7px;background:#f0e9fb;color:#532a88;font-size:22px}.sf-notification-list{overflow:auto;padding:10px}.sf-notification-item{display:grid;grid-template-columns:9px 1fr;gap:11px;padding:13px 11px;border-bottom:1px solid #e3eaf3}.sf-notification-item>span{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#0a67cf}.sf-notification-item.is-read{opacity:.65}.sf-notification-item header{display:flex;justify-content:space-between;gap:10px}.sf-notification-item p{color:#435570}.sf-notification-item button,.sf-notification-panel>footer button{padding:6px 10px;border:1px solid #9ebce1;border-radius:5px;background:#fff;color:#0759b8}.sf-notification-panel>footer{display:flex;justify-content:flex-end;padding:11px 16px;border-top:1px solid #dce5f1}.sf-notification-panel>footer svg{width:16px;vertical-align:middle;fill:none;stroke:currentColor}.sf-notification-empty,.sf-notification-loading{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;color:#667892}.sf-notification-empty>svg{width:38px;height:38px;fill:none;stroke:#075cc8;stroke-width:1.7}.sf-mobile-center{left:50%;right:auto;transform:translateX(-50%);width:min(1120px,calc(100vw - 36px))}.sf-mobile-center>.sf-mobile-grid{overflow:auto;grid-template-columns:repeat(3,minmax(240px,1fr));padding:18px}
@media(max-width:1200px){.sf-dashboard-grid{grid-template-columns:1fr}.sf-dashboard-right{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.sf-suite{grid-template-columns:78px minmax(0,1fr)}.sf-brand{justify-content:center;padding:0}.sf-brand strong,.sf-sidebar nav em,.sf-sidebar-status-host .suite-sidebar-status>span:last-child{display:none!important}.sf-sidebar{padding-inline:8px}.sf-sidebar nav>button{display:flex;justify-content:center;padding:0}.sf-sidebar-status-host .suite-sidebar-status{display:flex!important;justify-content:center!important;padding:8px!important}.sf-topbar{grid-column:2}.sf-user{width:74px;grid-template-columns:40px 14px;padding:0 10px}.sf-user-copy{display:none}.sf-header-tasks{width:145px}.sf-workspace{padding:16px}.sf-dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-dashboard-filters>*:nth-child(3){grid-column:1/2}.sf-mobile-grid{grid-template-columns:1fr}.sf-mobile-center>.sf-mobile-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}
@media(max-width:640px){.sf-suite{display:block;height:auto;min-height:100vh;overflow:visible}.sf-sidebar{position:sticky;top:0;z-index:20;height:56px;display:flex;flex-direction:row;align-items:center;padding:0 9px;overflow:visible}.sf-brand{width:48px;height:56px;border:0}.sf-brand img{width:34px;height:34px}.sf-sidebar nav{flex:1;min-width:0;display:flex;align-items:center;margin-left:6px;padding:0;overflow-x:auto;overflow-y:hidden}.sf-sidebar nav>button{width:42px;min-width:42px;min-height:42px}.sf-sidebar-status-host{display:none}.sf-topbar{position:sticky;top:56px;z-index:19;height:58px}.sf-header-tasks{width:118px;padding:0 9px}.sf-header-tasks strong{font-size:12px}.sf-header-tasks>svg{width:27px}.sf-bell{width:58px}.sf-user{width:62px}.sf-workspace{overflow:visible;padding:12px}.sf-dashboard-filters{grid-template-columns:1fr 1fr;gap:8px}.sf-dashboard-filters>*:nth-child(1),.sf-dashboard-filters>*:nth-child(2),.sf-dashboard-filters>*:nth-child(3){grid-column:auto}.sf-dashboard-filters button:last-child span{display:none}.sf-dashboard-right{grid-template-columns:1fr}.sf-dashboard-task{grid-template-columns:42px minmax(0,1fr) 18px}.sf-dashboard-task .sf-priority,.sf-dashboard-task time{display:none}.sf-summary-grid{grid-template-columns:repeat(2,1fr)}.sf-mobile-center{top:16px;max-height:calc(100vh - 32px)}.sf-mobile-center>.sf-mobile-grid{grid-template-columns:1fr}.sf-notification-panel{top:16px;right:12px;max-height:calc(100vh - 32px)}}

/*
 * Contrato geometrico del Launcher aprobado.
 * Estas reglas son deliberadamente finales y acotadas a .sf-suite: neutralizan
 * contratos historicos compartidos sin cambiar el shell de ningun modulo.
 */
html:has(body .sf-suite),body:has(.sf-suite),body:has(.sf-suite)>#app{width:100%;height:100%;margin:0;overflow:hidden}
body:has(.sf-suite) .sf-suite{
  width:100%!important;height:100dvh!important;min-height:0!important;
  margin:0!important;padding:0!important;
  grid-template-columns:228px minmax(0,1fr)!important;
  grid-template-rows:68px minmax(0,1fr)!important;
  overflow:hidden!important
}
body:has(.sf-suite) .sf-suite>.sf-sidebar{
  grid-column:1!important;grid-row:1/3!important;align-self:stretch!important;
  position:relative!important;inset:0!important;width:228px!important;
  height:100dvh!important;min-height:0!important;margin:0!important;
  padding:0 10px 12px!important;overflow:hidden!important
}
body:has(.sf-suite) .sf-suite>.sf-topbar{
  grid-column:2!important;grid-row:1!important;width:100%!important;
  height:68px!important;min-height:68px!important;margin:0!important;
  overflow:visible!important
}
body:has(.sf-suite) .sf-suite>.sf-workspace{
  grid-column:2!important;grid-row:2!important;width:auto!important;height:auto!important;
  min-width:0!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:24px!important;overflow-x:hidden!important;overflow-y:auto!important
}
body:has(.sf-suite) .sf-brand{height:68px!important;min-height:68px!important;margin:0!important;padding:0 9px!important}
body:has(.sf-suite) .sf-top-actions{
  flex:0 0 532px!important;width:532px!important;min-width:532px!important;height:68px!important;
  display:flex!important;align-items:stretch!important;justify-content:flex-end!important;
  gap:0!important;margin-left:auto!important;padding:0!important;overflow:visible!important
}
body:has(.sf-suite) .sf-top-actions>.sf-header-tasks{
  flex:0 0 176px!important;width:176px!important;min-width:176px!important;height:68px!important;
  display:flex!important;gap:8px!important;padding:0 11px!important;overflow:visible!important
}
body:has(.sf-suite) .sf-top-actions>.sf-bell{
  flex:0 0 70px!important;width:70px!important;min-width:70px!important;height:68px!important;
  display:grid!important;padding:0!important;overflow:visible!important
}
body:has(.sf-suite) .sf-top-actions>.sf-user{
  flex:0 0 286px!important;width:286px!important;min-width:286px!important;height:68px!important;
  grid-template-columns:44px minmax(0,1fr) 14px!important;gap:8px!important;
  display:grid!important;padding:0 12px!important;overflow:visible!important
}
body:has(.sf-suite) .sf-header-tasks>svg{flex:0 0 38px!important;width:38px!important;height:38px!important}
body:has(.sf-suite) .sf-bell>svg{width:32px!important;height:32px!important}
body:has(.sf-suite) .sf-user>span:first-child{width:40px!important;height:40px!important}
body:has(.sf-suite) .sf-user>.sf-user-copy{display:grid!important;width:auto!important;height:auto!important;min-width:0!important;align-content:center!important;overflow:visible!important}
body:has(.sf-suite) .sf-user-copy b,body:has(.sf-suite) .sf-user-copy small{max-width:none!important;text-overflow:clip!important}
body:has(.sf-suite) .sf-sidebar nav>.sf-sidebar-module{grid-template-columns:29px minmax(0,1fr)!important;min-height:41px!important;height:41px!important;padding:4px 12px!important}

body:has(.sf-suite) .sf-mobile-card>header{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;min-width:0}
body:has(.sf-suite) .sf-mobile-card>header>.sf-mobile-icon{flex:none;width:48px;min-width:48px;height:48px}
body:has(.sf-suite) .sf-mobile-card>header>div{min-width:0}
body:has(.sf-suite) .sf-mobile-card h3{display:-webkit-box;max-width:100%;margin:0;overflow:hidden;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:13px!important;line-height:1.15!important}
body:has(.sf-suite) .sf-mobile-card>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
body:has(.sf-suite) .sf-mobile-card{height:100%}
body:has(.sf-suite) .sf-topbar,body:has(.sf-suite) .sf-workspace,body:has(.sf-suite) .sf-dashboard-filters,body:has(.sf-suite) .sf-dashboard-grid,body:has(.sf-suite) .sf-dashboard-right,body:has(.sf-suite) .sf-panel,body:has(.sf-suite) .sf-mobile-grid,body:has(.sf-suite) .sf-mobile-card{min-width:0;max-width:100%}

/* Densidad del mismo diseno para Chrome desktop y el objetivo 1366x768. */
@media(min-width:901px) and (max-height:940px){
  body:has(.sf-suite) .sf-suite>.sf-workspace{padding:14px 20px!important}
  body:has(.sf-suite) .sf-dashboard-filters{gap:12px;margin-bottom:12px}
  body:has(.sf-suite) .sf-dashboard-grid{gap:10px}
  body:has(.sf-suite) .sf-dashboard-filters select,body:has(.sf-suite) .sf-dashboard-filters button{min-height:40px}
  body:has(.sf-suite) .sf-panel>header{min-height:43px}
  body:has(.sf-suite) .sf-task-list{min-height:190px}
  body:has(.sf-suite) .sf-dashboard-task{min-height:63px;padding:6px 4px}
  body:has(.sf-suite) .sf-summary{min-height:286px}
  body:has(.sf-suite) .sf-summary-grid{padding:9px}
  body:has(.sf-suite) .sf-summary-grid article{min-height:78px}
  body:has(.sf-suite) .sf-recent-list>button{min-height:44px;padding:5px 0}
  body:has(.sf-suite) .sf-dashboard-right{gap:9px}
  body:has(.sf-suite) .sf-mobile>header{min-height:55px}
  body:has(.sf-suite) .sf-mobile-grid{gap:9px;padding:9px}
  body:has(.sf-suite) .sf-mobile-card{padding:10px}
  body:has(.sf-suite) .sf-mobile-card>p{min-height:32px;margin:6px 0}
  body:has(.sf-suite) .sf-mobile-card dl{gap:3px;margin-bottom:8px}
  body:has(.sf-suite) .sf-mobile-card>a{min-height:34px}
  body:has(.sf-suite) .sf-view-all-mobile{min-height:32px}
}

@media(max-width:900px){
  body:has(.sf-suite) .sf-suite{grid-template-columns:78px minmax(0,1fr)!important}
  body:has(.sf-suite) .sf-suite>.sf-sidebar{width:78px!important;padding-inline:8px!important}
  body:has(.sf-suite) .sf-top-actions{flex-basis:307px!important;width:307px!important;min-width:307px!important}
  body:has(.sf-suite) .sf-top-actions>.sf-header-tasks{flex-basis:145px!important;width:145px!important;min-width:145px!important}
  body:has(.sf-suite) .sf-top-actions>.sf-user{flex-basis:74px!important;width:74px!important;min-width:74px!important;padding:0 10px!important}
}
@media(min-width:901px) and (max-width:1200px){
  body:has(.sf-suite) .sf-dashboard-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  body:has(.sf-suite) .sf-dashboard-filters>button{width:auto}
}
@media(max-width:640px){
  html:has(body .sf-suite),body:has(.sf-suite),body:has(.sf-suite)>#app{height:auto;overflow:auto}
  body:has(.sf-suite) .sf-suite{display:block!important;height:auto!important;min-height:100dvh!important;overflow:visible!important}
  body:has(.sf-suite) .sf-suite>.sf-sidebar{position:sticky!important;top:0!important;width:100%!important;height:56px!important;padding:0 9px!important;overflow:visible!important}
  body:has(.sf-suite) .sf-suite>.sf-topbar{position:sticky!important;top:56px!important;height:58px!important;min-height:58px!important;overflow:hidden!important}
  body:has(.sf-suite) .sf-suite>.sf-workspace{padding:12px!important;overflow:visible!important}
  body:has(.sf-suite) .sf-top-actions{flex-basis:238px!important;width:238px!important;min-width:238px!important;height:58px!important}
  body:has(.sf-suite) .sf-top-actions>.sf-header-tasks{flex-basis:118px!important;width:118px!important;min-width:118px!important;height:58px!important;padding:0 9px!important}
  body:has(.sf-suite) .sf-top-actions>.sf-bell{flex-basis:58px!important;width:58px!important;min-width:58px!important;height:58px!important}
  body:has(.sf-suite) .sf-top-actions>.sf-user{flex-basis:62px!important;width:62px!important;min-width:62px!important;height:58px!important;padding:0 10px!important}
}

/* Launcher web móvil aprobado: mismo DOM de datos y sesión, layout responsive independiente. */
.sf-mobile-launcher{display:none}
@media (max-width:760px),(max-width:920px) and (max-height:520px){
  html:has(body .sf-mobile-launcher),body:has(.sf-mobile-launcher),body:has(.sf-mobile-launcher)>#app{width:100%;min-width:0;height:100%;min-height:100dvh;margin:0;overflow:hidden}
  body:has(.sf-mobile-launcher) .sf-suite{display:none!important}
  .sf-mobile-launcher{--sfm-blue:#075fcf;--sfm-navy:#102a56;--sfm-muted:#60718a;--sfm-border:#d9e3ef;width:100%;height:100dvh;min-width:0;display:grid;grid-template-rows:66px minmax(0,1fr) 70px;overflow:hidden;background:#f5f8fc;color:var(--sfm-navy);font:14px/1.35 "Segoe UI",Arial,sans-serif}
  .sf-mobile-launcher *{box-sizing:border-box;min-width:0}
  .sf-mobile-launcher button{font:inherit;cursor:pointer}
  .sf-mobile-launcher button:focus-visible{outline:3px solid #8fc5ff;outline-offset:2px}
  .sf-mobile-phone-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:linear-gradient(100deg,#063f98,#0767d4);color:#fff}
  .sf-mobile-phone-brand{display:flex;align-items:center;gap:8px;min-width:0}
  .sf-mobile-phone-brand>img{width:34px;height:34px;display:block;object-fit:contain}
  .sf-mobile-phone-brand>span{display:grid;min-width:0}
  .sf-mobile-phone-brand strong{font-size:16px;line-height:1.1}
  .sf-mobile-phone-brand small{color:#dcecff;font-size:10px;white-space:nowrap}
  .sf-mobile-phone-actions{display:flex;align-items:center;gap:3px;flex:none}
  .sf-mobile-phone-actions>button{position:relative;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:transparent;color:#fff}
  .sf-mobile-phone-actions>button:active,.sf-mobile-phone-actions>button[aria-expanded="true"]{background:#ffffff20}
  .sf-mobile-phone-actions svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .sf-mobile-phone-actions>button>i{position:absolute;right:1px;top:1px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:#f23748;color:#fff;font-size:10px;font-style:normal;font-weight:800}
  .sf-mobile-phone-actions>button>i[hidden]{display:none}
  .sf-mobile-phone-avatar{width:38px;height:38px;display:grid;place-items:center;margin-left:2px;border-radius:50%;background:#eef5ff;color:#124487;font-size:12px;font-weight:800}
  .sf-mobile-phone-content{min-height:0;padding:18px 16px 24px;overflow:auto;overscroll-behavior:contain;background:#f5f8fc}
  .sf-mobile-phone-view>h1{margin:0 0 5px;font-size:23px;letter-spacing:-.02em;color:#102a56}
  .sf-mobile-phone-intro{margin:0 0 16px;color:#526783}
  .sf-mobile-phone-list{display:grid;gap:10px}
  .sf-mobile-phone-app{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:11px;padding:13px;border:1px solid var(--sfm-border);border-radius:12px;background:#fff;box-shadow:0 1px 2px #1739630a}
  .sf-mobile-phone-app>.sf-app-icon,.sf-mobile-phone-app>img{grid-column:1;grid-row:1;width:40px!important;height:40px!important;display:block;object-fit:contain;background:transparent}
  .sf-mobile-phone-app>.sf-app-icon img{width:40px!important;height:40px!important;object-fit:contain;background:transparent}
  .sf-mobile-phone-copy{grid-column:2;grid-row:1;display:grid;align-content:start}
  .sf-mobile-phone-copy strong{font-size:14px;color:#102a56}
  .sf-mobile-phone-copy small{margin-top:2px;color:#60718a;font-size:11px}
  .sf-mobile-phone-copy p{grid-column:1/-1;margin:7px 0 0;color:#526783;font-size:12px}
  .sf-mobile-phone-copy em{margin-top:5px;color:#60718a;font-size:11px;font-style:normal}
  .sf-mobile-phone-app>.sf-mobile-download{grid-column:3;grid-row:1;min-width:88px;min-height:44px;display:grid;place-items:center;padding:0 11px;border:0;border-radius:8px;background:#075fcf;color:#fff;font-weight:700}
  .sf-mobile-phone-app>.sf-mobile-download:disabled{background:#d9e1ec;color:#68788f;cursor:not-allowed}
  .sf-mobile-phone-app>.sf-mobile-download svg{display:none}
  .sf-mobile-phone-app>.sf-mobile-download-status{grid-column:1/-1;margin:0;color:#315f98;font-size:11px}
  .sf-mobile-phone-app>.sf-mobile-download-status:empty{display:none}
  .sf-mobile-phone-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px;border:1px solid var(--sfm-border);border-radius:12px;background:#fff;color:#667892;text-align:center}
  .sf-mobile-phone-empty b{color:#173765}
  .sf-mobile-phone-empty button{min-height:44px;margin-top:8px;padding:0 18px;border:0;border-radius:8px;background:#075fcf;color:#fff}
  .sf-mobile-about{padding:17px;border:1px solid var(--sfm-border);border-radius:12px;background:#fff}
  .sf-mobile-about>img{width:48px;height:48px;display:block;object-fit:contain}
  .sf-mobile-about h2{margin:10px 0 4px;font-size:19px}
  .sf-mobile-about>p{margin:0;color:#526783}
  .sf-mobile-about dl{display:grid;gap:0;margin:16px 0 0}
  .sf-mobile-about dl>div{display:grid;gap:2px;padding:10px 0;border-top:1px solid #e5ebf3}
  .sf-mobile-about dt{color:#60718a;font-size:11px}
  .sf-mobile-about dd{margin:0;color:#173765;font-weight:700;overflow-wrap:anywhere}
  .sf-mobile-logout{min-height:100%;display:grid;place-items:center}
  .sf-mobile-logout>article{width:100%;padding:20px;border:1px solid var(--sfm-border);border-radius:12px;background:#fff;text-align:center}
  .sf-mobile-logout h1{margin:0 0 8px;font-size:22px}
  .sf-mobile-logout p{margin:0 0 18px;color:#526783}
  .sf-mobile-logout article>div{display:grid;gap:9px}
  .sf-mobile-logout button{min-height:46px;border:0;border-radius:8px;font-weight:700}
  .sf-mobile-logout button:first-child{background:#c63c3c;color:#fff}
  .sf-mobile-logout button:last-child{background:#edf2f8;color:#173765}
  .sf-mobile-phone-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #d5dfec;background:#fff}
  .sf-mobile-phone-nav button{min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:8px;background:transparent;color:#526783}
  .sf-mobile-phone-nav button>span:first-child{font-size:22px;line-height:1}
  .sf-mobile-phone-nav button>span:last-child{font-size:11px;font-weight:700}
  .sf-mobile-phone-nav button[aria-selected="true"]{background:#e9f3ff;color:#075cc8}
  .sf-mobile-phone-nav button:last-child{color:#a33232}
  .sf-tasks-popover{max-height:calc(100dvh - 82px)}
  .sf-notification-panel{width:min(360px,100vw)!important}
}
@media (max-width:370px){
  .sf-mobile-phone-header{padding-inline:8px}
  .sf-mobile-phone-brand>img{width:30px;height:30px}
  .sf-mobile-phone-brand strong{font-size:14px}
  .sf-mobile-phone-actions{gap:1px}
  .sf-mobile-phone-avatar{width:34px;height:34px}
  .sf-mobile-phone-content{padding-inline:12px}
  .sf-mobile-phone-app{grid-template-columns:40px minmax(0,1fr)}
  .sf-mobile-phone-app>.sf-mobile-download{grid-column:1/-1;grid-row:auto;width:100%}
}
@media (max-width:920px) and (max-height:520px){
  .sf-mobile-launcher{grid-template-rows:58px minmax(0,1fr) 58px}
  .sf-mobile-phone-header{padding-block:6px}
  .sf-mobile-phone-nav{padding-block:3px}
  .sf-mobile-phone-nav button{min-height:50px}
  .sf-mobile-phone-content{padding-block:12px 18px}
}
