/* WDR FIX7 — precise cleanup of duplicated legacy chrome and WDR project panels */
.wdr7-legacy-hidden,.wdr7-duplicate-crumb{display:none!important}
body.wdr-theme-subpage .wdr7-primary-breadcrumb{
  display:flex!important;align-items:center;flex-wrap:wrap;gap:10px!important;
  margin:0 0 26px!important;padding:0 0 12px!important;
  color:#b3bdd3!important;font-size:13px!important;font-weight:570!important;
  border-bottom:1px solid rgba(157,141,224,.17);letter-spacing:normal!important;
}
body.wdr-theme-subpage .wdr7-primary-breadcrumb a{color:#bca7ff!important;text-decoration:none!important}
body.wdr-theme-subpage .wdr7-primary-breadcrumb a:hover{color:#7be7f1!important}
body.wdr-theme-subpage .wdr7-primary-breadcrumb [aria-current=page]{color:#f8f6ff!important;font-weight:750!important}
.wdr7-separator{color:#7882a6!important;user-select:none}
body.wdr-theme-subpage main>h1{margin:8px 0 16px!important;font-size:clamp(2.1rem,5vw,3.7rem)!important;line-height:1.12!important}
body.wdr-theme-subpage main>p:not(.wdr-filters){max-width:75ch;line-height:1.72}
.wdr7-promo-link{
  display:inline-flex;align-items:center;gap:8px;color:#e8d9ff!important;
  font-weight:720!important;text-decoration:none!important;margin:4px 0 14px!important;
}
.wdr7-promo-link:after{content:'↗';color:#66e2ed}
.wdr7-promo-label{font-size:.9rem;color:#b7a4ff!important;font-weight:650}
.wdr7-brand-panel{
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:clamp(16px,3vw,30px)!important;
  border-radius:20px!important;
}
.wdr7-art-host{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;
}
.wdr7-brand-art{
  width:min(100%,800px);min-height:140px;padding:clamp(20px,4vw,36px);
  display:flex;align-items:center;gap:clamp(14px,3vw,30px);
  border:1px solid rgba(126,108,207,.35);border-radius:18px;
  background:radial-gradient(circle at 0 15%,rgba(125,72,238,.29),transparent 53%),linear-gradient(130deg,#11152e,#1d1739);
  box-shadow:inset 0 1px rgba(255,255,255,.04);
  color:#f9f7ff!important;
}
.wdr7-brand-glyph{
  display:grid;place-items:center;flex:0 0 auto;width:110px;height:96px;
  border-radius:20px;background:linear-gradient(145deg,#8a45ed,#382180 70%);
  border:1px solid #9d6dff;color:white;font:900 29px/1 system-ui,sans-serif;
  letter-spacing:-.1em;text-shadow:0 2px 12px rgba(0,0,0,.35);
  box-shadow:0 6px 28px rgba(113,65,224,.28);
}
.wdr7-brand-text{display:flex;flex-direction:column;gap:8px;min-width:0}
.wdr7-brand-text strong{color:#fff!important;font-weight:800;font-size:clamp(1rem,2.3vw,1.45rem);line-height:1.25;letter-spacing:.015em}
.wdr7-brand-text small{color:#77e6f0!important;font-size:clamp(.65rem,1.4vw,.85rem);letter-spacing:.18em;font-weight:700}
/* Existing project cards stay usable and do not lose their click targets. */
body.wdr-theme-subpage .wdr-project-grid{gap:20px!important}
body.wdr-theme-subpage .wdr-card-enhanced{min-width:0;overflow-wrap:anywhere}
body.wdr-theme-subpage .wdr-card-enhanced:focus-visible{outline:3px solid #79e3f2!important;outline-offset:4px}
@media(max-width:640px){
 body.wdr-theme-subpage .wdr7-primary-breadcrumb{margin-bottom:18px!important}
 .wdr7-brand-art{flex-direction:column;align-items:flex-start;min-height:0}
 .wdr7-brand-glyph{width:85px;height:72px;border-radius:14px;font-size:24px}
 .wdr7-brand-text strong{font-size:1rem}
}
@media(prefers-reduced-motion:reduce){.wdr7-brand-art *{transition:none!important}}
