/* V140: a dedicated pending-recognition page and a consistent directory card system. */
.dash-trip-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.dash-trip-actions .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.dash-trip-actions .dash-crew-tags-btn{gap:10px;border:1px solid #be9d65;box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
.crew-tilt-tag{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:#fcdfad;background:linear-gradient(145deg,#a77a38 0%,#584126 55%,#241d19 100%);border:1px solid #dfbe80;border-radius:7px;box-shadow:2px 3px 0 #34281b,0 3px 9px rgba(0,0,0,.26);transform:rotate(-17deg)}
.crew-tilt-tag .icon{width:18px;height:18px;display:inline-flex}
.crew-tilt-tag svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.9;fill:none}

.crew-tags-page .container{max-width:1180px}
.crew-tags-page>.container>.route-back{display:inline-flex;margin-bottom:20px}
.crew-tags-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 24px}
.crew-tags-heading h1{margin:6px 0 10px}
.crew-tags-heading p{max-width:650px;line-height:1.55;color:#665e53;margin:0}
.crew-tags-count{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;color:#655a4a}
.crew-tags-count strong{font:400 42px/1 Georgia,serif;color:#24211d}
.crew-tags-count span{font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.14em}
.crew-tags-count small{font-size:12px;margin-top:4px}
.crew-tags-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,390px),1fr));gap:14px;align-items:stretch}
.crew-target-card{display:grid;grid-template-columns:minmax(125px,33%) minmax(0,1fr);background:#fff;border:1px solid #ded8ce;border-radius:14px;overflow:hidden;min-height:250px;box-shadow:0 5px 20px rgba(32,29,24,.035)}
.crew-target-card.is-captain{border:2px solid #ba9656;box-shadow:0 0 0 1px rgba(205,170,100,.22),0 7px 26px rgba(80,55,18,.09)}
.crew-target-photo{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#e6dfd2;min-width:0;min-height:250px;overflow:hidden}
.crew-target-photo img,.crew-target-fallback{grid-row:1;position:relative;display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 24%;align-self:stretch}
.crew-target-fallback{display:grid;place-items:center}
.crew-target-photo strong{grid-row:2;display:block;font:500 15px/1.15 Georgia,serif;color:#fff;padding:8px 10px;background:rgba(31,28,24,.68);backdrop-filter:blur(5px);overflow-wrap:anywhere}
.crew-cap-emblem{position:absolute;top:10px;left:9px;z-index:2;display:grid;place-items:center;width:48px;height:43px;border:1px solid #dfbd7c;border-radius:12px;background:linear-gradient(150deg,#fdf5dc,#c9ac71 70%,#a88146);box-shadow:0 5px 12px rgba(29,22,12,.24)}
.crew-cap-emblem svg{width:43px;height:36px;filter:drop-shadow(0 2px 2px rgba(25,20,12,.3))}
.crew-target-content{min-width:0;display:flex;flex-direction:column;gap:5px;padding:13px 14px 12px}
.crew-target-type{color:#8a6840;font-size:10px;letter-spacing:.12em;font-weight:800}
.crew-target-card.is-captain .crew-target-type{color:#996e2c}
.crew-target-city{display:flex;align-items:center;gap:4px;font-size:12px;color:#676053;min-height:18px}
.crew-target-city .icon{width:14px;height:14px;display:inline-flex}
.crew-target-city svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.8;fill:none}
.crew-target-trip{display:flex;flex-direction:column;gap:3px;padding:8px 0 9px;min-width:0}
.crew-target-trip span{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#8b8173}
.crew-target-trip strong{font:500 16px/1.15 Georgia,serif;color:#29251f;overflow-wrap:anywhere}
.crew-target-trip small{font-size:11px;line-height:1.3;color:#6a6054}
.crew-target-form{display:flex;align-items:flex-end;gap:8px;margin-top:auto;padding-top:11px;border-top:1px solid #e8e2d8;flex-wrap:wrap}
.crew-target-form label{display:flex;flex:1 1 130px;min-width:0;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#6d6153}
.crew-target-form select{display:block;box-sizing:border-box;max-width:100%;width:100%;min-height:40px;padding:8px 9px;border:1px solid #d4cabc;border-radius:8px;background:#fff;font-size:12px;color:#2f2a23}
.crew-target-form .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 11px;font-size:12px;white-space:nowrap}
.crew-target-form .btn .icon{display:inline-flex;width:14px;height:14px}
.crew-target-form .btn svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.8;fill:none}
.crew-tags-empty{max-width:600px;text-align:center;margin:15px auto;padding:38px 24px;border:1px solid #ded5c7;border-radius:14px;background:#fff}
.crew-tags-empty .crew-tilt-tag{margin:0 auto 18px;width:36px;height:36px}
.crew-tags-empty h2{font:500 27px/1.2 Georgia,serif}
.crew-tags-empty p{color:#6e675c;margin:12px 0 20px}

/* Clubhouse / My Trip: same visual slots, same photo/name ribbon, real saved data. */
.my-trip-crew.member-board{grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));gap:10px}
.my-trip-crew .member-slab{min-height:170px;grid-template-columns:34% minmax(0,1fr)}
.my-trip-crew .member-slab-photo{min-height:170px}
.clubhouse-shell .member-board .member-slab-body,.my-trip-crew .member-slab-body{display:flex;flex-direction:column;gap:0;min-width:0;padding:10px 12px 9px}
.clubhouse-shell .member-slab-meta,.my-trip-crew .member-slab-meta{min-height:39px}
.clubhouse-shell .member-slab-job,.my-trip-crew .member-slab-job{min-height:15px;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.clubhouse-shell .member-slab-city,.my-trip-crew .member-slab-city{display:flex;align-items:center;gap:5px;min-height:19px;font-size:12px}
.clubhouse-shell .member-slab-city .icon,.my-trip-crew .member-slab-city .icon{display:inline-flex;width:13px;height:13px;color:#91713e}
.clubhouse-shell .member-slab-city svg,.my-trip-crew .member-slab-city svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.clubhouse-shell .member-slab-quote-zone,.my-trip-crew .member-slab-quote-zone{min-height:42px;flex:1 1 auto;overflow:hidden}
.clubhouse-shell .member-slab-quote,.my-trip-crew .member-slab-quote{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:3px 0 4px;font-size:14px;line-height:1.3}
.clubhouse-shell .member-slab-tags-zone,.my-trip-crew .member-slab-tags-zone{min-height:29px;margin-bottom:4px}
.clubhouse-shell .member-slab-tags-zone .trip-capsules,.my-trip-crew .member-slab-tags-zone .trip-capsules{gap:4px}
.clubhouse-shell .member-slab-foot,.my-trip-crew .member-slab-foot{margin-top:auto;align-items:center;min-height:24px}
.clubhouse-shell .member-slab-milestone,.my-trip-crew .member-slab-milestone{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}
.clubhouse-shell .member-slab-milestone .icon,.my-trip-crew .member-slab-milestone .icon{width:15px;height:15px;display:inline-flex;color:#9f783e}
.clubhouse-shell .member-slab-milestone svg,.my-trip-crew .member-slab-milestone svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.clubhouse-shell .member-board .member-slab-photo strong,.my-trip-crew .member-slab-photo strong{left:0;right:0;bottom:0;box-sizing:border-box;display:block;color:#fff;background:rgba(38,34,29,.69);backdrop-filter:blur(5px);font-size:14px;line-height:1.17;padding:7px 9px;min-height:34px;text-shadow:0 1px 3px rgba(0,0,0,.22)}
.route-member .clubhouse-shell .member-board .member-slab-photo strong,.route-members .clubhouse-shell .member-board .member-slab-photo strong{background:rgba(38,34,29,.69)!important;min-height:34px;padding:7px 9px;font-size:14px}

@media(max-width:720px){
 .dash-journeys-main .section-head{flex-wrap:wrap;gap:10px}
 .dash-trip-actions{width:100%}
 .dash-trip-actions .btn{flex:1 1 0;min-width:120px}
 .crew-tags-heading{align-items:flex-start;gap:12px}
 .crew-tags-count strong{font-size:32px}
}
@media(max-width:640px){
 .my-trip-crew.member-board{grid-template-columns:1fr}
 .my-trip-crew .member-slab{grid-template-columns:1fr}
 .my-trip-crew .member-slab-photo{min-height:210px}
 .crew-tags-grid{grid-template-columns:1fr}
 .crew-target-card{grid-template-columns:minmax(105px,33%) minmax(0,1fr);min-height:230px}
 .crew-target-photo{min-height:230px}
 .crew-target-content{padding:11px 12px}
 .crew-target-form .btn{flex:1 1 100%}
}
@media(max-width:380px){
 .crew-target-card{grid-template-columns:105px minmax(0,1fr)}
 .crew-target-photo strong{font-size:13px}
 .crew-tags-heading{flex-direction:column}
 .crew-tags-count{align-items:flex-start}
}

/* V141: the older type.css gave EACH dashboard action 96px of right margin.
   Keep the two equal-height actions together at the right edge of My Trips. */
.dash-journeys-main .section-head .dash-trip-actions{
 margin-left:auto;
 display:flex;
 align-items:center;
 justify-content:flex-end;
 flex:0 0 auto;
 flex-wrap:nowrap;
 gap:9px;
}
.dash-journeys-main .section-head .dash-trip-actions .btn{
 margin:0;
 min-height:42px;
 padding:9px 15px;
 white-space:nowrap;
 flex:0 0 auto;
 line-height:1.2;
}
@media(max-width:900px){
 .dash-journeys-main .section-head{flex-wrap:wrap}
}
@media(max-width:640px){
 .dash-journeys-main .section-head .dash-trip-actions{
  margin-left:0;
  width:100%;
  justify-content:flex-end;
 }
 .dash-journeys-main .section-head .dash-trip-actions .btn{
  min-width:0;
  padding:8px 12px;
 }
}

/* V142: pending Crew Tags are compact cards, not full-width banners. */
.crew-tags-page .container{max-width:1100px}
.crew-tags-grid{
 grid-template-columns:repeat(auto-fill,minmax(min(100%,390px),460px));
 gap:12px;justify-content:start;align-items:start;
}
.crew-target-card{
 grid-template-columns:minmax(118px,32%) minmax(0,1fr);
 min-height:218px;max-width:460px;
}
.crew-target-photo{min-height:218px}
.crew-target-photo strong{font-size:14px;padding:7px 8px}
.crew-target-content{gap:3px;padding:10px 12px}
.crew-target-trip{gap:2px;padding:6px 0}
.crew-target-trip strong{font-size:15px}
.crew-target-form{padding-top:8px;gap:6px}
.crew-target-form label{gap:4px;font-size:10px;flex-basis:125px}
.crew-target-form select,.crew-target-form .btn{min-height:37px}
.crew-target-form .btn{font-size:11px;padding:7px 10px}
@media(max-width:640px){
 .crew-tags-grid{grid-template-columns:minmax(0,1fr)}
 .crew-target-card{max-width:100%;min-height:205px}
 .crew-target-photo{min-height:205px}
}
