/* Vecnine checkpoint 55 · Batch 22
   Nine public portraits plus member, library, and account surfaces. */
:root{--v55-orange:#e8692a;--v55-gold:#c9a96e;--v55-lavender:#b9a5d6;--v55-gut:#c47050;--v55-heart:#a86090;--v55-head:#5090b8}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:6.3rem;overflow-x:hidden}
body.v55-polished{overflow-x:hidden}
body.v55-polished main,body.v55-polished section,body.v55-polished article,body.v55-polished aside,body.v55-polished nav,body.v55-polished form{min-width:0}
body.v55-polished img,body.v55-polished svg,body.v55-polished canvas,body.v55-polished video{max-width:100%}
.v55-skip-link{position:fixed;z-index:100000;top:.7rem;left:.8rem;transform:translateY(-180%);padding:.72rem 1rem;border:1px solid rgba(201,169,110,.55);border-radius:.55rem;background:#fff;color:#130d27;font:800 .85rem/1 system-ui,sans-serif;text-decoration:none}.v55-skip-link:focus{transform:none}
body.v55-polished :focus-visible{outline:3px solid var(--v55-gold)!important;outline-offset:3px!important}

/* Type portraits: the existing mechanism map now carries contribution and a
   stereotype guard so a later type is not treated as a weak copy of a lead type. */
body.type-page.v55-polished .portrait-intro{position:relative}
body.type-page.v55-polished .portrait-intro::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,currentColor,transparent);opacity:.4}
body.type-page.v55-polished .v35-type-reading-map{box-shadow:0 22px 62px rgba(0,0,0,.20);overflow:hidden}
body.type-page.v55-polished .v35-mechanism-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}
body.type-page.v55-polished .v35-mechanism-grid>div{min-height:128px;display:flex;flex-direction:column}
body.type-page.v55-polished .v35-mechanism-grid dd{margin-top:auto;padding-top:.6rem}
body.type-page.v55-polished .v55-type-contribution{border-top:2px solid rgba(201,169,110,.70)!important;background:linear-gradient(180deg,rgba(201,169,110,.065),transparent)!important}
body.type-page.v55-polished .v55-type-guard{border-top:2px solid rgba(185,165,214,.62)!important;background:linear-gradient(180deg,rgba(185,165,214,.055),transparent)!important}
body.type-page.v55-polished .v55-type-contribution dt{color:var(--v55-gold)!important}
body.type-page.v55-polished .v55-type-guard dt{color:var(--v55-lavender)!important}
body.type-page.v55-polished .type-nav-row{gap:.65rem}
body.type-page.v55-polished .type-nav-link{min-height:44px;display:inline-flex;align-items:center}
body.type-page.v55-polished .tp-confused-card,body.type-page.v55-polished .tp-notfit-card{min-width:0}
body.type-page[data-v35-center="gut"].v55-polished .portrait-intro::before{color:var(--v55-gut)}
body.type-page[data-v35-center="heart"].v55-polished .portrait-intro::before{color:var(--v55-heart)}
body.type-page[data-v35-center="head"].v55-polished .portrait-intro::before{color:var(--v55-head)}

/* Member surfaces: retain task hierarchy across signed-out, member, and local-only states. */
body.v55-polished .v42-map,body.v55-polished .v46-map{position:relative;overflow:hidden;box-shadow:0 20px 56px rgba(0,0,0,.18)}
body.v55-polished .v42-map::before,body.v55-polished .v46-map::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--v55-orange),var(--v55-gold),var(--v55-lavender))}
body.v55-polished .v42-map__grid,body.v55-polished .v46-grid{align-items:stretch}
body.v55-polished .v42-map__card,body.v55-polished .v46-card{min-height:104px}
body.v55-polished .v42-local-nav a,body.v55-polished .v46-nav a{min-height:42px;display:inline-flex;align-items:center}
body.v55-polished .hub-map,body.v55-polished .community-lanes{align-items:stretch}
body.v55-polished .hub-piece,body.v55-polished .community-lane{min-width:0}
body.v55-polished .ml-actions{display:flex;flex-wrap:wrap;gap:.5rem}
body.v55-polished .ml-btn{min-height:42px}
body.v55-polished input,body.v55-polished select,body.v55-polished textarea,body.v55-polished button{max-width:100%}

@media(max-width:900px){
 body.type-page.v55-polished .v35-mechanism-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.v55-polished .v42-map__grid,body.v55-polished .v46-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 html{scroll-padding-top:5.2rem}
 body.type-page.v55-polished .v35-mechanism-grid{grid-template-columns:1fr!important}
 body.type-page.v55-polished .v35-mechanism-grid>div{min-height:0}
 body.type-page.v55-polished .type-nav-row{display:grid!important;grid-template-columns:1fr!important}
 body.type-page.v55-polished .type-nav-link{width:100%;justify-content:center;text-align:center}
 body.v55-polished .v42-map__grid,body.v55-polished .v46-grid{grid-template-columns:1fr!important}
 body.v55-polished .v42-map__card,body.v55-polished .v46-card{min-height:0}
 body.v55-polished .v42-local-nav,body.v55-polished .v46-nav{display:flex;overflow-x:auto;gap:.45rem;padding-bottom:.35rem;scroll-snap-type:x proximity}
 body.v55-polished .v42-local-nav a,body.v55-polished .v46-nav a{flex:0 0 auto;scroll-snap-align:start}
 body.v55-polished table{display:block;max-width:100%;overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){body.v55-polished *,body.v55-polished *::before,body.v55-polished *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
