/* Mini Chef by PPA | Account Dashboard V1, staging only.
   Namespaced visual styles. No API, balance or auth logic. */
.mc-panel-page{max-width:1270px;margin:0 auto;padding-top:28px;padding-bottom:60px}
.mc-p-top{margin:0 0 26px}
.mc-p-top .eyebrow{color:#d75a38!important;letter-spacing:.15em;font-weight:900}
.mc-p-ident{display:flex;align-items:center;gap:19px;margin-top:12px}
.mc-p-ident h2,.mc-p-top h2{margin:0 0 8px;color:#172d41;font-size:clamp(26px,3vw,38px);line-height:1.13;overflow-wrap:anywhere}
.mc-p-ident p,.mc-p-top>p{color:#687686;margin:0;font-size:15px}
.mc-p-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 68px;width:68px;height:68px;border:2px solid #eedfd0;border-radius:22px;background:#fff;overflow:hidden;font-size:22px;font-weight:800}
.mc-p-avatar img{width:100%;height:100%;object-fit:cover}
.mc-p-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mc-p-tile{min-width:0;min-height:154px;display:flex;align-items:flex-start;gap:14px;padding:22px 17px;text-align:left;border:1px solid #ecdfd1;border-radius:18px;background:white;color:#1c405d;box-shadow:0 4px 15px rgba(18,43,75,.045);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;font:inherit}
.mc-p-tile:hover:not(.mc-p-disabled),.mc-p-tile:focus-visible:not(.mc-p-disabled){transform:translateY(-2px);border-color:#e8af93;box-shadow:0 8px 24px rgba(18,43,75,.11)}
.mc-p-tile:focus-visible,.mc-p-back:focus-visible{outline:3px solid #f2a15c;outline-offset:2px}
.mc-p-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;width:48px;border-radius:15px;background:#fff0e7;color:#d45f40;font-size:25px}
.mc-p-tile:nth-child(2n) .mc-p-icon{background:#eaf5f9;color:#264a6f}
.mc-p-tile:nth-child(3n) .mc-p-icon{background:#e8f6ee;color:#12944d}
.mc-p-card-copy{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;padding-top:2px}
.mc-p-card-copy strong{font-size:17px;line-height:1.25;font-weight:850;overflow-wrap:anywhere}
.mc-p-card-copy small{font-size:12px;line-height:1.5;color:#687987;overflow-wrap:anywhere}
.mc-p-chevron{font-size:23px;color:#c26f4a;font-weight:700}
.mc-p-disabled{cursor:not-allowed;opacity:.68;background:#fcfaf7}
.mc-p-disabled .mc-p-chevron{opacity:0}
.mc-p-creator{margin-top:34px}
.mc-p-creator h3{font-size:12px;color:#bd5b40;letter-spacing:.13em;margin:0 0 14px}
.mc-p-grid-creator .mc-p-icon{background:#e7f4ec;color:#15974c}
.mc-p-creator-invite{margin-top:29px;padding:19px 21px;border-radius:16px;border:1px solid #ebded0;background:#fff9f1;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.mc-p-creator-invite strong{color:#173b5b;font-size:14px}
.mc-p-creator-invite p{color:#67798a;margin:0;flex:1;font-size:13px}
.mc-p-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:30px;padding-top:20px;border-top:1px solid #e7dcd0;color:#7b8894;font-size:12px}
.mc-p-back{display:inline-flex;align-items:center;gap:8px;border:1px solid #ecddd1;background:#fff9f1;color:#163e5f;border-radius:999px;padding:9px 15px;margin:10px 0 15px;font:700 13px Arial,Helvetica,sans-serif;cursor:pointer}
.mc-p-back:hover{border-color:#d79d7e;background:#fff1e5}
.mc-p-guest{padding:34px;max-width:680px}
@media(max-width:900px){.mc-p-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-p-tile{min-height:140px}}
@media(max-width:600px){.mc-panel-page{padding-top:16px;padding-bottom:34px}.mc-p-top{margin-bottom:19px}.mc-p-ident{gap:11px;align-items:flex-start}.mc-p-avatar{flex-basis:52px;height:52px;width:52px;border-radius:16px}.mc-p-ident h2{font-size:24px}.mc-p-ident p{font-size:13px;line-height:1.5}.mc-p-grid{grid-template-columns:1fr;gap:10px}.mc-p-tile{min-height:100px;padding:15px 13px;gap:12px;border-radius:14px}.mc-p-icon{flex-basis:43px;width:43px;height:43px;border-radius:12px;font-size:23px}.mc-p-card-copy strong{font-size:16px}.mc-p-card-copy small{font-size:12px}.mc-p-creator-invite{display:block}.mc-p-creator-invite p{margin:7px 0 11px}.mc-p-footer{margin-top:20px}}

/* Keep the approved V4 wordmark and original language selector visible on mid-width screens. */
@media (min-width:921px) and (max-width:1100px) {
 .topbar {grid-template-columns:minmax(142px,.7fr) minmax(170px,1.3fr) auto minmax(134px,.7fr);gap:10px;padding:12px 16px;}
 .topbar .desktop-nav-item {padding:8px 7px;font-size:11px;}
 .topbar .top-search {min-width:0;}
 .topbar .top-actions {min-width:0;gap:6px;}
}

/* V2: summary numbers are loaded from existing Mercado API endpoints. */
.mc-p-live-meta{display:inline-flex;align-self:flex-start;margin-top:5px;padding:6px 10px;background:#eef7f1;color:#21683f;border-radius:999px;font-weight:800;font-size:11px;line-height:1.35;white-space:normal}
.mc-p-card-copy .mc-p-live-meta{overflow-wrap:anywhere}

/* MINI CHEF HEADER LOGOUT V1 - compact, always visible after login. */
.topbar .mc-header-logout{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:6px;min-height:39px;padding:8px 12px;border:1px solid #e6bfb6;border-radius:11px;background:#fff1ec;color:#9b392d;white-space:nowrap;font-size:12px;font-weight:850;line-height:1.1;cursor:pointer}
.topbar .mc-header-logout:hover{background:#ffe5dd;border-color:#ce8571}
.topbar .mc-header-logout:focus-visible{outline:3px solid #ed9b70;outline-offset:2px}
.topbar .mc-header-logout:disabled{opacity:.6;cursor:wait}
.topbar .mc-header-logout .header-logout-short{display:none}
@media(max-width:760px){
 .topbar .mc-header-logout{min-height:37px;padding:7px 9px;font-size:11px}
 .topbar .mc-header-logout .header-logout-long{display:none}
 .topbar .mc-header-logout .header-logout-short{display:inline}
}
@media(max-width:360px){
 .topbar .mc-brand-lockup{width:103px;max-height:65px}
 .topbar .mc-header-logout{padding:7px 6px;gap:3px;font-size:10px}
}