/* v1.8 — co-branding top bar + sticker cards */
.kvks-brand-strip{display:none!important}
.heritage-footer{padding-top:28px}

/* ---- KVKS logo in the top bar ---- */
.eco-topbar.has-cobrand{justify-content:flex-start}
.eco-topbar.has-cobrand>div:nth-child(2){margin-right:auto;min-width:0;padding-left:20px;border-left:1px solid var(--eco-line)}
.eco-cobrand{display:flex;align-items:center;flex:none;padding-right:20px}
.eco-cobrand img{display:block;height:44px;width:auto}
body.heritage-dark .eco-cobrand{background:#fff;border-radius:12px;padding:6px 10px;margin-right:16px}
@media(max-width:900px){
  .eco-cobrand{padding-right:12px}.eco-cobrand img{height:34px}
  .eco-topbar.has-cobrand>div:nth-child(2){padding-left:12px}
  .eco-topbar.has-cobrand .eco-eyebrow{display:none}
  .eco-topbar.has-cobrand h1{font-size:17px}
}
@media(max-width:560px){
  .eco-topbar.has-cobrand{gap:10px}
  .eco-cobrand img{height:28px}
  .eco-topbar.has-cobrand #eco-network{display:none}
  .eco-topbar.has-cobrand .eco-toolbar{gap:6px}
  .eco-topbar.has-cobrand .eco-toolbar .secondary-button{padding:8px 10px;min-height:38px}
  .eco-topbar.has-cobrand .eco-initials{width:38px;height:38px;border-radius:13px;font-size:15px}
  .eco-topbar.has-cobrand .heritage-icon-button{width:38px;height:38px}
}

/* ---- Sticker icons ---- */
.efw-sticker{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 3px rgba(16,62,48,.22))}
.efw-cat-ga{--st-a:#eaf7dc;--st-b:#d3efbd;--st-ink:#2c6a39}
.efw-cat-rc{--st-a:#ddf5ef;--st-b:#c0eadf;--st-ink:#1d6b55}
.efw-cat-rr{--st-a:#fdebf0;--st-b:#fbd6e0;--st-ink:#9c3a52}
.efw-cat-se{--st-a:#fff6d9;--st-b:#ffe8a3;--st-ink:#7a5c00}
.efw-cat-sw{--st-a:#e3f2fc;--st-b:#c9e5f8;--st-ink:#1d5d86}

.efw-browser-card-art[data-sticker]{background:linear-gradient(135deg,var(--st-a),var(--st-b))!important;min-height:118px;position:relative;align-items:center;justify-content:center}
.efw-browser-card-art[data-sticker]>span{width:88px;height:88px;font-size:0;transform:rotate(-5deg);transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.efw-browser-mission-card:nth-child(even) .efw-browser-card-art[data-sticker]>span{transform:rotate(5deg)}
.efw-browser-mission-card:not(:disabled):hover .efw-browser-card-art[data-sticker]>span{transform:rotate(0) scale(1.08)}
.efw-browser-card-art[data-sticker] small{position:absolute;right:10px;bottom:9px;color:var(--st-ink)!important;background:rgba(255,255,255,.82);padding:4px 9px;border-radius:99px;font-size:.62rem}
.efw-browser-mission-card.is-unavailable .efw-browser-card-art[data-sticker]>span{filter:grayscale(.2)}

.efw-browser-detail-icon[data-sticker]{display:block;position:absolute;top:22px;right:24px;bottom:auto;width:104px;height:104px;font-size:0!important;opacity:1;margin:0;transform:rotate(6deg)}
@media(max-width:700px){.efw-browser-detail-icon[data-sticker]{top:16px;right:16px;width:80px;height:80px}}

.eco-mission-symbol[data-sticker]{background:linear-gradient(135deg,var(--st-a),var(--st-b))!important;font-size:0!important;padding:0;width:92px!important;min-width:92px!important;max-width:92px;height:92px!important;flex:none;justify-self:start;overflow:visible}
.eco-mission-symbol[data-sticker] .efw-sticker{width:74px!important;height:74px!important;transform:rotate(-5deg)}
@media(prefers-reduced-motion:reduce){.efw-browser-card-art[data-sticker]>span{transition:none}}

/* Cards are <button>s: keep content top-aligned so the art always meets the top edge, footer at the bottom. */
.efw-browser-mission-card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
.efw-browser-mission-card>.efw-browser-card-art{flex:none}
.efw-browser-mission-card>.efw-browser-card-body{flex:1;display:flex;flex-direction:column}
.efw-browser-mission-card .efw-browser-card-footer{margin-top:auto}
.eco-hero-leaf[data-sticker]{font-size:0!important;width:150px;height:150px;flex:none;transform:rotate(8deg);opacity:1!important}
.eco-hero-leaf[data-sticker] .efw-sticker{width:150px!important;height:150px!important}
@media(max-width:900px){.eco-hero-leaf[data-sticker]{display:none}}
.eco-hero-leaf[data-sticker]{margin-right:24px}
@media(max-width:900px){
  .eco-mission-body:has(.eco-mission-symbol[data-sticker]){display:grid!important;grid-template-columns:68px 1fr;gap:14px;align-items:center}
  .eco-mission-symbol[data-sticker]{display:grid!important;width:68px!important;min-width:68px!important;max-width:68px;height:68px!important;border-radius:18px}
  .eco-mission-symbol[data-sticker] .efw-sticker{width:56px!important;height:56px!important}
}
/* v1.9.1 — breathing room under the "← Back" button on flow screens (camera, mission detail, etc.) */
.student-flow-card>button.secondary-button:first-child{display:inline-flex;align-items:center;margin:0 0 26px!important}
.student-flow-card>button.secondary-button:first-child+.heritage-section-label{margin-top:0}
