/* Mi Studio — "Resumen enfocado" (overview v3) */
/* Legacy overview blocks stay in the DOM for older scripts, never shown. */
.main>.headline,.main>.fcs-attention,.main>.fcs-public-preview-first,.main>.top-grid,.main>.mid-grid,.main>.lower-grid,.main>.market-strip{display:none!important}
#fcsOverview[hidden]{display:none!important}

#fcsOverview{max-width:1600px;display:flex;flex-direction:column;gap:24px;color:var(--text,#eef2f5)}
#fcsOverview a{color:var(--accent2,#ff8a96);text-decoration:none}
#fcsOverview a:hover{text-decoration:underline}
.ov-head{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-start;justify-content:space-between;margin-top:-10px}
.ov-head .ov-actions .ov-btn{min-height:36px;padding:0 14px;font-size:13.5px}
.ov-head h1{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.02em}
.ov-head p{margin:6px 0 0;color:var(--muted,#93a0ac);font-size:14px}
.ov-actions{display:flex;gap:10px;flex-wrap:wrap}
#fcsOverview .ov-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:10px;font-weight:600;font-size:14px;text-decoration:none}
#fcsOverview .ov-btn-ghost{border:1px solid var(--line2,#2c3842);color:var(--text,#eef2f5)}
#fcsOverview .ov-btn-primary{background:var(--accent,#d9384c);color:#fff}
#fcsOverview .ov-btn:hover{text-decoration:none;filter:brightness(1.08)}

.ov-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ov-kpi{background:var(--panel,#111920);border:1px solid var(--line,#1f2a33);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:4px;min-width:0}
.ov-kpi span{font-size:13px;color:var(--muted,#93a0ac)}
.ov-kpi strong{font-size:30px;line-height:1.1;font-weight:700}
.ov-kpi small{font-size:12px;color:#7d8a96}
.ov-kpi-lock{grid-column:span 3;justify-content:center}
.ov-kpi-lock a{font-weight:600;font-size:14px}

.ov-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ov-card{background:var(--panel,#111920);border:1px solid var(--line,#1f2a33);border-radius:16px;padding:22px;min-width:0}
.ov-card h2{margin:0 0 16px;font-size:16px}
.ov-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.ov-card-head h2{margin:0}
.ov-card-head a{font-size:14px;font-weight:600}
.ov-muted{margin:0;color:#7d8a96;font-size:13px}
.ov-hint{margin-top:14px}
.ov-clear{display:flex;gap:14px;align-items:center;border:1px dashed #2a3742;border-radius:12px;padding:18px}
.ov-check{width:40px;height:40px;flex:none;border-radius:50%;background:#133126;color:#5ee0a8;display:grid;place-items:center}
.ov-clear strong{display:block;font-size:15px}
.ov-clear span{font-size:14px;color:var(--muted,#93a0ac)}
.ov-todo{list-style:none;margin:0;padding:0}
.ov-todo li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#1f2a33);font-size:14px}
.ov-todo li:last-child{border-bottom:0}
.ov-todo li>span:nth-child(2){flex:1}
.ov-todo a{font-weight:600}
.ov-dot{width:9px;height:9px;border-radius:50%;background:var(--accent,#d9384c);flex:none}
.ov-skeleton{height:76px;border-radius:12px;background:linear-gradient(90deg,#141d24,#1a252e,#141d24);background-size:200% 100%;animation:ovPulse 1.4s ease infinite}
@keyframes ovPulse{to{background-position:-200% 0}}

.ov-profile{padding:0;overflow:hidden}
.ov-banner{height:96px;background:#1b242c}
.ov-banner img{width:100%;height:100%;object-fit:cover;display:block}
.ov-profile-body{padding:0 22px 22px}
.ov-id{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:-30px}
.ov-avatar{width:60px;height:60px;flex:none;border-radius:14px;background:var(--bg,#0b1116);border:3px solid var(--panel,#111920);display:grid;place-items:center;font-weight:700;overflow:hidden}
.ov-avatar img{width:100%;height:100%;object-fit:cover}
.ov-id strong{display:block;font-size:16px}
.ov-id a{font-size:13px;color:var(--muted,#93a0ac)!important;word-break:break-all}
.ov-counts{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:16px;font-size:14px;color:#c5ced6}
.ov-counts strong{color:#fff}

.ov-works{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.ov-work{display:flex;flex-direction:column;gap:8px;color:#c5ced6!important;text-decoration:none!important}
.ov-work-img{height:180px;border-radius:10px;overflow:hidden;background:#1b242c;display:grid;place-items:center}
.ov-work-img img{width:100%;height:100%;object-fit:cover;display:block}
.ov-work-title{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ov-work-add .ov-work-img{background:transparent;border:1px dashed #2f3c47;color:var(--muted,#93a0ac);font-size:14px}

.ov-next{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#2a1419,#141c23 70%);border:1px solid #3a2228;border-radius:18px;padding:24px 26px}
.ov-next-copy{flex:1 1 320px;min-width:0}
.ov-next-label{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#ff8a96}
.ov-next h2{margin:8px 0 6px;font-size:20px;line-height:1.25}
.ov-next p{margin:0;font-size:14px;line-height:1.55;color:#b9c3cc}
.ov-next-actions{display:flex;align-items:center;gap:8px}
#fcsOverview .ov-next .ov-btn{border:0;cursor:pointer;font-family:inherit;white-space:nowrap}
#fcsOverview .ov-next .ov-btn:disabled{opacity:.7;cursor:progress}
.ov-next-x{width:38px;height:38px;border-radius:10px;border:1px solid #3a2a30;background:transparent;color:#b9c3cc;display:grid;place-items:center;cursor:pointer}
.ov-next-x:hover{color:#fff;border-color:#5a3a42}
@media(max-width:520px){.ov-next-actions{width:100%}.ov-next-actions .ov-btn{flex:1}}

/* grouped side menu */
.nav .ov-nav-group{display:block;padding:14px 12px 4px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7d8a96}

@media(max-width:1100px){.ov-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-kpi-lock{grid-column:span 1}}
@media(max-width:820px){.ov-row{grid-template-columns:1fr}}
@media(max-width:520px){.ov-head h1{font-size:24px}.ov-actions{width:100%}.ov-actions .ov-btn{flex:1}.ov-kpi strong{font-size:24px}.ov-work-img{height:150px}}
@media(prefers-reduced-motion:reduce){.ov-skeleton{animation:none}}

/* wide layout: main column + side column */
.ov-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.ov-main-col,.ov-side-col{display:flex;flex-direction:column;gap:24px;min-width:0}
.ov-works{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.ov-work-img{height:200px}
@media(min-width:1700px){.ov-grid{grid-template-columns:minmax(0,1fr) 400px}}
@media(max-width:1180px){.ov-grid{grid-template-columns:1fr}.ov-side-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.ov-side-col{grid-template-columns:1fr}.ov-work-img{height:180px}}
@media(max-width:520px){.ov-work-img{height:150px}}
