/* HeyFercho Studio V6.6.10 · Nueva experiencia del superadministrador.
   Solo se activa en la navegación global, el portal de métricas del cliente se mantiene intacto. */
:root{--hf6610-lime:#cfff71;--hf6610-forest:#213222;--hf6610-border:#dce8d7;--hf6610-muted:#667262}
body.v5-admin-area .app{grid-template-columns:226px minmax(0,1fr)}
body.v5-admin-area .sidebar{padding:22px 14px 18px!important;gap:12px;background:#191b1a}
body.v5-admin-area #sidebarBrand{padding:0 6px;margin-bottom:18px!important;min-height:62px}
body.v5-admin-area #sidebarBrand .brandmark{width:45px;height:45px;min-width:45px;border-radius:12px}
body.v5-admin-area #sidebarBrand .brand-title{font-size:13px;letter-spacing:0;font-weight:900}
body.v5-admin-area #sidebarBrand .brand-sub{font-size:11px}
body.v5-admin-area #adminShellNav{gap:10px;min-height:0;flex:1}
body.v5-admin-area .hf6610-nav-label{padding:6px 15px 7px;font-size:11px;color:#a6b2a3;font-weight:900;letter-spacing:.21em}
body.v5-admin-area .hf6610-nav-links{display:grid;gap:5px}
body.v5-admin-area #adminShellNav .nav-btn{width:100%;min-height:47px!important;display:flex;align-items:center;gap:13px!important;border-radius:12px;padding:11px 15px!important;color:#d2d9d0!important;font-size:13px!important;font-weight:770!important;line-height:1.2!important}
body.v5-admin-area #adminShellNav .nav-btn:hover{background:#2e352d!important;color:#fff!important}
body.v5-admin-area #adminShellNav .nav-btn.active{background:var(--hf6610-lime)!important;color:#192215!important}
body.v5-admin-area #adminShellNav .nav-btn svg{height:19px;width:19px;min-width:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
body.v5-admin-area .hf6610-sidebar-help{font-size:11px;line-height:1.5;color:#929d8f;padding:17px 14px;border-top:1px solid #323b32;margin-top:auto}
body.v5-admin-area #v5ReturnClient{display:none!important}
body.v5-admin-area .sidebar-bottom{display:none}
body.v5-admin-area .page{max-width:none;padding:29px clamp(19px,2.5vw,43px) 54px;background:#f7f8f5}
body.v5-admin-area .topbar{background:#fff;border-bottom:1px solid #e8ece5;height:66px}
body.v5-admin-area .topbar #v615BackAdmin{display:none!important}
body.v5-admin-area .topbar .breadcrumb{color:#5d685e;font-weight:650}
body.v5-admin-area .topbar .breadcrumb strong{color:#222923}
body.v5-admin-area .hf6610-role-pill{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #e0e9d8;background:#f7faf4;border-radius:50px;color:#2c4428;font-size:10px;font-weight:850;padding:8px 12px;letter-spacing:.025em}
body.v5-admin-area .hf6610-top-document{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid #e1e9df;background:#fff;color:#1d291d;cursor:pointer}
body.v5-admin-area .hf6610-top-document svg{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.v5-admin-area .hf6610-top-document:hover{background:#f1f9e8}
body.v5-admin-area .top-right #accountBox{width:auto;display:block;position:relative}
body.v5-admin-area .top-right #accountToggle{width:43px;height:43px;min-height:43px;min-width:43px;background:none;padding:0;border:0;display:grid;place-items:center;border-radius:13px}
body.v5-admin-area .top-right #accountToggle:hover{background:#eef5e8}
body.v5-admin-area .top-right #accountToggle #headerAvatar{background:var(--hf6610-lime);color:#1c251b;width:39px;height:39px;border-radius:12px}
body.v5-admin-area .top-right #accountToggle .hf-account-intro,body.v5-admin-area .top-right #accountToggle .hf-chevron{display:none!important}
body.v5-admin-area .top-right #accountMenu{position:absolute;left:auto;right:0;bottom:auto;top:calc(100% + 10px);width:275px;max-width:calc(100vw - 24px);transform-origin:top right;box-shadow:0 18px 42px #1c291c22}
/* Global dashboard matches approved admin reference; all values loaded from authorized sources. */
body.v5-admin-area .hf6610-overview-title{margin:0 0 25px}
body.v5-admin-area .hf6610-overview-title h2{font-size:clamp(34px,3.5vw,46px)!important;font-weight:920;line-height:1.06;letter-spacing:-.058em;color:#243324;margin:3px 0 6px}
body.v5-admin-area .hf6610-overview-title p{max-width:940px;font-size:13px;color:#637060;line-height:1.65}
body.v5-admin-area .hf6610-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}
body.v5-admin-area .hf6610-stat{background:#fff;min-width:0;min-height:102px;border:1px solid var(--hf6610-border);border-radius:17px;display:flex;align-items:center;gap:13px;padding:16px;box-shadow:0 5px 20px #14261205}
body.v5-admin-area .hf6610-stat-icon{width:44px;height:44px;border-radius:12px;background:#f3f7f0;display:grid;place-items:center;flex-shrink:0;color:#243823}
body.v5-admin-area .hf6610-stat-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.v5-admin-area .hf6610-stat-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
body.v5-admin-area .hf6610-stat-copy>span{font-size:11px;color:#536050;line-height:1.4}
body.v5-admin-area .hf6610-stat-copy strong{font-size:27px;font-weight:900;color:#233a24;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1}
body.v5-admin-area .hf6610-stat-copy small{font-size:10px;color:#6d7b66}
body.v5-admin-area .hf6610-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:stretch;margin-bottom:17px}
body.v5-admin-area .hf6610-card{border:1px solid var(--hf6610-border);background:#fff;border-radius:18px;padding:23px 25px;min-width:0;box-shadow:0 10px 28px #1f311907}
body.v5-admin-area .hf6610-card header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:21px}
body.v5-admin-area .hf6610-card h3{font-size:19px;line-height:1.2;font-weight:900;letter-spacing:-.025em;color:#202b20;margin-bottom:4px}
body.v5-admin-area .hf6610-card header p{font-size:12px;color:#6c7967;line-height:1.4}
body.v5-admin-area .hf6610-client-picker{display:flex;align-items:center;gap:13px;border:1px solid #cbdec2;border-radius:13px;padding:11px 12px;margin:10px 0 16px;background:#fbfdf8}
body.v5-admin-area .hf6610-client-logo{width:44px;height:44px;flex-shrink:0;border-radius:11px;background:#1a1c1b;color:#cfff71;display:grid;place-items:center;font-size:24px;font-weight:800;overflow:hidden}
body.v5-admin-area .hf6610-client-logo img{width:100%;height:100%;object-fit:contain;background:#fdfdfc}
body.v5-admin-area .hf6610-client-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
body.v5-admin-area .hf6610-client-info select{width:100%;min-width:0;max-width:100%;font-size:14px;font-weight:850;color:#222b20;border:0;background:transparent;padding:5px 28px 4px 0;outline-offset:3px;cursor:pointer}
body.v5-admin-area .hf6610-client-info small{font-size:11px;color:#667464;padding-left:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v5-admin-area .hf6610-status{font-size:11px;font-weight:870;border-radius:25px;border:1px solid #cfe8c0;background:#eafaec;color:#3d7d2d;padding:7px 12px;white-space:nowrap}
body.v5-admin-area .hf6610-client-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px}
body.v5-admin-area .hf6610-client-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:47px;padding:10px 12px;border-radius:12px;font-size:12px;font-weight:830;cursor:pointer}
body.v5-admin-area .hf6610-client-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
body.v5-admin-area .hf6610-primary{background:#18331c;color:#fff;border:1px solid #18331c}
body.v5-admin-area .hf6610-outline{background:#fff;color:#274229;border:1px solid #d5e0d2}
body.v5-admin-area .hf6610-primary:hover{background:#2e502a}
body.v5-admin-area .hf6610-outline:hover{background:#f2f9ed}
body.v5-admin-area .hf6610-subtle-link{border:1px solid #d7e8cb;background:#eefaeb;color:#38752b;font-weight:800;border-radius:25px;padding:8px 15px;white-space:nowrap}
body.v5-admin-area .hf6610-activity-list{min-height:155px}
body.v5-admin-area .hf6610-activity-item{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #edf0ea}
body.v5-admin-area .hf6610-activity-item:last-child{border-bottom:0}
body.v5-admin-area .hf6610-row-icon{width:34px;height:34px;border-radius:11px;flex-shrink:0;display:grid;place-items:center;background:#f2f6ef;color:#2c492c}
body.v5-admin-area .hf6610-row-icon svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.v5-admin-area .hf6610-activity-item>div{flex:1;min-width:0}
body.v5-admin-area .hf6610-activity-item strong{display:block;font-size:12px;color:#253023;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.v5-admin-area .hf6610-activity-item small{font-size:10px;color:#778175}
body.v5-admin-area .hf6610-activity-item time{font-size:10px;color:#788372;white-space:nowrap}
body.v5-admin-area .hf6610-muted{font-size:12px;color:#7a8775;line-height:1.6;margin:12px 0}
body.v5-admin-area .hf6610-bottom-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:17px}
body.v5-admin-area .hf6610-quick{width:100%;border:1px solid #e1e9dc;background:#fbfcfa;min-height:41px;border-radius:11px;display:flex;align-items:center;gap:10px;padding:5px 9px;margin:0 0 6px;text-align:left;color:#263126}
body.v5-admin-area .hf6610-quick:hover{border-color:#b0d596;background:#f4faee}
body.v5-admin-area .hf6610-quick strong{font-size:12px;flex:1}
body.v5-admin-area .hf6610-quick .hf6610-row-icon{width:29px;height:29px;background:transparent}
body.v5-admin-area .hf6610-quick .hf6610-row-arrow{font-size:22px;line-height:1;margin-left:auto}
body.v5-admin-area .hf6610-summary-lines{margin:18px 0}
body.v5-admin-area .hf6610-summary-lines>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px;border-bottom:1px solid #e6ece2;font-size:12px;color:#293a29}
body.v5-admin-area .hf6610-summary-lines>div strong{font-size:15px;color:#223123;font-weight:900}
body.v5-admin-area .hf6610-summary-lines>div span{display:flex;align-items:center;gap:10px}
body.v5-admin-area .hf6610-dot{width:12px;height:12px;border-radius:50%;display:inline-block}
body.v5-admin-area .hf6610-dot.green{background:#a8e261}
body.v5-admin-area .hf6610-dot.amber{background:#ffe48a}
body.v5-admin-area .hf6610-dot.gray{background:#cbd4ce}
body.v5-admin-area .hf6610-quiet-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border-radius:12px;background:#ecf7e6;border:1px solid #d8e8ce;color:#31572c;font-size:12px;font-weight:850}
body.v5-admin-area .hf6610-quiet-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
body.v5-admin-area .hf6610-chart-value{display:block;font-size:35px;font-weight:900;letter-spacing:-.04em;line-height:1;color:#203622}
body.v5-admin-area .hf6610-chart-subtitle{font-size:11px;color:#6c7a65}
body.v5-admin-area .hf6610-mini-chart{margin-top:12px;min-height:75px}
body.v5-admin-area .hf6610-mini-chart svg{display:block;width:100%;height:80px;overflow:visible}
body.v5-admin-area .hf6610-mini-chart path{fill:none;stroke:#6ba333;stroke-width:2.5;vector-effect:non-scaling-stroke}
body.v5-admin-area .hf6610-mini-chart .hf6610-area{fill:#e2f2d4;stroke:none}
/* Preserve every original admin page; only the global home and shell change. */
@media(max-width:1280px){body.v5-admin-area .hf6610-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.v5-admin-area .hf6610-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.v5-admin-area .hf6610-activity-chart{grid-column:span 2}}
@media(max-width:1000px){body.v5-admin-area .hf6610-main-grid{grid-template-columns:1fr}body.v5-admin-area .hf6610-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){body.v5-admin-area .app{display:block}body.signed-in.v5-admin-area #adminShellNav{display:flex!important;min-height:0;max-height:none}body.signed-in.v5-admin-area #adminShellNav .hf6610-nav-links{display:grid;gap:4px}body.v5-admin-area .hf6610-nav-label{padding:10px 14px}body.v5-admin-area .sidebar-bottom{display:none}body.v5-admin-area .hf6610-role-pill{font-size:9px;padding:7px 10px}}
@media(max-width:620px){body.v5-admin-area .hf6610-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body.v5-admin-area .hf6610-stat{padding:13px;gap:9px;min-height:92px}body.v5-admin-area .hf6610-stat-icon{width:36px;height:36px}body.v5-admin-area .hf6610-stat-icon svg{width:19px;height:19px}body.v5-admin-area .hf6610-stat-copy strong{font-size:23px}body.v5-admin-area .hf6610-stat-copy>span{font-size:10px}body.v5-admin-area .hf6610-bottom-grid{grid-template-columns:1fr}body.v5-admin-area .hf6610-activity-chart{grid-column:auto}body.v5-admin-area .hf6610-card{padding:17px}body.v5-admin-area .hf6610-client-actions{grid-template-columns:1fr}body.v5-admin-area .hf6610-client-picker{flex-wrap:wrap}body.v5-admin-area .hf6610-role-pill{display:none!important}body.v5-admin-area .hf6610-top-document{display:none}body.v5-admin-area .hf6610-overview-title h2{font-size:34px!important}body.v5-admin-area .hf6610-client-info{flex-basis:calc(100% - 75px)}body.v5-admin-area .hf6610-status{margin-left:auto}}
@media(prefers-reduced-motion:reduce){body.v5-admin-area .hf6610-stat,body.v5-admin-area .hf6610-card{transition:none}}
/* Override the legacy grid layout so navigation remains compact and groups stay at the top. */
body.signed-in.v5-admin-area #adminShellNav{display:flex!important;flex-direction:column!important;align-items:stretch;gap:10px;justify-content:flex-start}
body.signed-in.v5-admin-area #adminShellNav .hf6610-nav-links{display:grid;grid-template-columns:1fr;grid-auto-rows:min-content;align-content:start;gap:5px}
body.signed-in.v5-admin-area #globalFilters{display:none!important}
body.signed-in.v5-admin-area #v5ReturnClient{display:none!important}
