.shell{--shell-bottom-offset:0px;align-items:flex-start;min-height:calc(100dvh - 6px);display:flex}.shell-sidebar{background:var(--papel);border-right:1px solid var(--borde);flex-direction:column;flex:0 0 248px;align-self:flex-start;width:248px;height:100dvh;padding:20px 12px 12px;display:flex;position:sticky;top:0}.shell-content{flex:1 1 0;min-width:0}.shell-brand{letter-spacing:.06em;color:var(--azul);margin:0 8px 16px;font-size:1.05rem;font-weight:800}.shell-list{gap:2px;margin:0;padding:0;list-style:none;display:grid}.shell-link,.shell-toggle{width:100%;min-height:var(--touch-min);border-radius:var(--radio);color:var(--tinta);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:8px 10px;font-size:.95rem;text-decoration:none;transition:background-color .12s ease-out,color .12s ease-out;display:flex}.shell-link:hover,.shell-toggle:hover{background:var(--fondo)}.shell-link[aria-current=page]{background:var(--asf-selected);color:var(--azul);font-weight:700}.shell-toggle{font-weight:600}.shell-toggle-label{flex:auto;min-width:0}.shell-toggle[data-active=true]{color:var(--azul)}.shell-toggle:focus-visible{outline:3px solid var(--asf-blue);outline-offset:1px}.shell-sublist{border-left:1px solid var(--borde);margin:2px 0 4px 19px;padding-left:6px}.shell-sublist .shell-sublist{margin-left:12px}.shell-sublist .shell-link,.shell-sublist .shell-toggle{gap:8px;padding:7px 8px;font-size:.9rem}.shell-list[hidden]{display:none}.shell-icon{flex:none}.shell-mobilebar,.shell-backdrop,.shell-close,.shell-tabbar,.shell-logout-confirm{display:none}@media (max-width:1023px){.shell{display:block}.shell-mobilebar{background:var(--papel);border-bottom:1px solid var(--borde);z-index:15;align-items:center;gap:12px;padding:6px 12px;display:flex;position:sticky;top:0}.shell-close{top:calc(8px + var(--safe-top));width:var(--touch-min);height:var(--touch-min);color:var(--tinta);background:var(--papel);border:1px solid var(--borde);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:inline-grid;position:absolute;right:8px}.shell-sidebar,.shell-nav{overscroll-behavior:contain}.shell-menu{min-height:44px;font:inherit;color:var(--tinta);background:var(--papel);border:1px solid var(--borde);border-radius:var(--radio);cursor:pointer;align-items:center;gap:8px;padding:6px 12px;font-weight:600;display:inline-flex}.shell-mobilebrand{min-height:var(--touch-min);border-radius:var(--radio);align-items:center;display:inline-flex}.shell-mobilebrand-img{width:auto;height:40px;display:block}.shell-sidebar{z-index:30;width:min(280px,85vw);height:auto;padding:calc(20px + var(--safe-top)) 12px calc(12px + var(--safe-bottom)) calc(12px + var(--safe-left));visibility:hidden;flex:none;align-self:stretch;transition:transform .16s ease-out,visibility 0s linear .16s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.shell-sidebar[data-open=true]{visibility:visible;transition:transform .16s ease-out;transform:none}.shell-backdrop{z-index:20;background:#1b1e248c;display:block;position:fixed;inset:0}.shell{--tabbar-h:64px;--shell-bottom-offset:calc(var(--tabbar-h) + 1px + var(--safe-bottom))}.shell-content{padding-bottom:var(--tabbar-h)}.shell-tabbar{z-index:16;padding:0 calc(4px + var(--safe-right)) var(--safe-bottom) calc(4px + var(--safe-left));background:var(--papel);border-top:1px solid var(--borde);align-items:stretch;display:flex;position:fixed;inset:auto 0 0;box-shadow:0 -2px 8px #1b1e240f}.shell-tabs{flex:auto;min-width:0;margin:0;padding:0;list-style:none;display:flex}.shell-tabs>li{flex:1 1 0;min-width:0}.shell-tab{width:100%;height:var(--tabbar-h);color:var(--asf-text-2);font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 2px;font-size:.75rem;font-weight:600;line-height:1.15;text-decoration:none;display:flex;position:relative}.shell-tab[aria-current]{color:var(--azul);font-weight:800}.shell-tab[aria-current]:before{content:"";background:var(--azul);border-radius:0 0 3px 3px;height:3px;position:absolute;top:0;left:22%;right:22%}.shell-tab:focus-visible{outline:3px solid var(--asf-blue);outline-offset:-3px;border-radius:var(--radio)}.shell-tab--logout{border-left:1px solid var(--borde);width:auto;min-width:76px;color:var(--error);flex:none;margin-left:4px;padding-left:8px}.shell-tab--logout:disabled{opacity:.6;cursor:progress}.shell-logout-confirm{right:calc(8px + var(--safe-right));bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 8px);left:calc(8px + var(--safe-left));z-index:17;border-radius:12px;display:block;position:fixed;box-shadow:0 8px 24px #1b1e242e}}@media (prefers-reduced-motion:reduce){.shell-sidebar,.shell-sidebar[data-open=true]{transition:none}}.shell-header{background:var(--papel);border-bottom:1px solid var(--borde);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:10px 24px;display:flex}.shell-identity{align-items:center;gap:12px;min-width:0;display:flex}.shell-initials{background:var(--asf-selected);width:36px;height:36px;color:var(--azul);border-radius:50%;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:inline-grid}.shell-who{min-width:0}.shell-name,.shell-role,.shell-date{margin:0}.shell-name{overflow-wrap:anywhere;font-weight:700;line-height:1.25}.shell-role{color:var(--gris);font-size:.85rem}.shell-date{color:var(--tinta);align-items:center;gap:8px;min-height:24px;margin-left:auto;font-size:.95rem;display:inline-flex}.shell-date .shell-icon{color:var(--azul)}.shell-date:first-letter{text-transform:none}.shell-tools{align-items:center;gap:8px 16px;margin-left:auto;display:flex}.shell-tools .shell-date{margin-left:0}.shell-bell{width:44px;height:44px;color:var(--azul);border-radius:50%;place-items:center;display:inline-grid;position:relative}.shell-bell:hover{background:var(--asf-selected)}.shell-bell:focus-visible{outline:3px solid var(--azul);outline-offset:2px}.shell-bell__n{background:var(--rojo);color:#fff;text-align:center;border-radius:10px;min-width:20px;height:20px;padding:0 5px;font-size:.75rem;font-weight:700;line-height:20px;position:absolute;top:2px;right:0}.shell-nav{flex:auto;min-height:0;overflow-y:auto}.shell-footer{border-top:1px solid var(--borde);flex:none;gap:4px;margin-top:12px;padding-top:12px;display:grid}.shell-account,.shell-logout{border-radius:var(--radio);width:100%;min-height:44px;color:var(--tinta);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:10px;padding:6px 10px;display:flex}.shell-account:hover,.shell-logout:hover{background:var(--fondo)}.shell-account:focus-visible,.shell-logout:focus-visible,.shell-menu:focus-visible,.shell-link:focus-visible{outline:3px solid var(--asf-blue);outline-offset:2px}.shell-account-text{flex:auto;min-width:0;display:grid}.shell-account-label{text-transform:uppercase;letter-spacing:.06em;color:var(--gris);font-size:.75rem;font-weight:700}.shell-account-name{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.shell-chevron{transition:transform .12s;display:inline-flex}.shell-chevron[data-open=true]{transform:rotate(180deg)}.shell-account-menu{padding-left:8px}.shell-account-menu[hidden]{display:none}.shell-logout{color:var(--error);font-weight:600}.shell-logout:disabled{opacity:.6;cursor:progress}.shell-logout-error{color:var(--error);background:var(--aviso);border-radius:var(--radio);margin:4px 0 0;padding:8px 10px;font-size:.85rem}@media (max-width:1023px){.shell-header{flex-wrap:nowrap;gap:8px;padding:8px 12px}.shell-identity{flex:auto;gap:10px}.shell-header .shell-initials{width:32px;height:32px}.shell-name{font-size:.95rem}.shell-tools{flex:0 auto;gap:4px;margin-left:auto}.shell-date{text-align:right;max-width:9.5rem;color:var(--asf-text-2);align-items:flex-start;gap:6px;margin-left:0;font-size:.8rem;line-height:1.3}.shell-date .shell-icon{margin-top:1px}}@media (prefers-reduced-motion:reduce){.shell-chevron{transition:none}}.shell-logo{border-radius:var(--radio);flex:none;width:150px;margin:0 auto 14px;display:block;position:relative}.shell-logo:focus-visible{outline:3px solid var(--asf-blue);outline-offset:2px}.shell-logo-img{width:100%;height:auto;display:block}.shell-group-here{background:var(--asf-selected);color:var(--azul);border-radius:999px;flex:none;padding:1px 8px;font-size:.75rem;font-weight:700}.shell-toggle .shell-chevron{color:var(--gris);flex:none}
.idle-back{z-index:50;padding:max(16px, var(--safe-top)) max(16px, var(--safe-right)) max(16px, var(--safe-bottom)) max(16px, var(--safe-left));background:#1b1e248c;place-items:center;display:grid;position:fixed;inset:0}.idle-dialog{width:100%;max-width:420px;max-height:calc(100dvh - 32px);color:var(--asf-text);border:1px solid var(--asf-line);background:#fff;border-radius:12px;gap:14px;padding:24px;display:grid;overflow-y:auto;box-shadow:0 12px 32px #1b1e2440}.idle-logo{width:112px;height:auto;display:block}.idle-dialog h2{color:var(--asf-blue);margin:0;font-size:1.25rem}.idle-dialog p{color:var(--asf-text-2);margin:0}.idle-seconds{font-variant-numeric:tabular-nums;color:var(--asf-text);font-weight:700}.idle-actions{flex-wrap:wrap;gap:10px;display:flex}.idle-actions button{min-height:44px;font:inherit;cursor:pointer;border-radius:8px;flex:140px;padding:10px 16px;font-weight:600}.idle-keep{color:#fff;background:var(--asf-action);border:1px solid var(--asf-action)}.idle-keep:hover{background:#a8191c}.idle-leave{color:var(--asf-blue);border:1px solid var(--asf-blue);background:#fff}.idle-leave:hover{background:var(--asf-selected)}.idle-dialog :focus-visible{outline:3px solid var(--asf-blue);outline-offset:2px}
