/* Yard (Crews, Events, Companies, Tools & gear), Post a job and My Lid. Same dark / amber design tokens as app.css. */
.subtabs { display:flex; gap:6px; overflow-x:auto; margin:4px 0 12px; padding-bottom:2px; scrollbar-width:none; }
.subtabs::-webkit-scrollbar { display:none; }
.subtabs a { flex:none; padding:8px 14px; border-radius:999px; background:var(--raised); border:1px solid var(--line); color:var(--text2); text-decoration:none; font-size:14px; white-space:nowrap; }
.subtabs a:hover { color:var(--text); }
.subtabs a.on { border-color:var(--yellow); color:var(--yellow); background:rgba(255,204,0,.08); font-weight:600; }
.yard-card { display:block; color:var(--text); text-decoration:none; }
a.yard-card:hover { border-color:rgba(255,204,0,.35); }
.yard-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.yard-card-head h2, .yard-card-head h3 { margin:0; min-width:0; overflow-wrap:anywhere; }
.yard-card-head h3 a { color:var(--text); text-decoration:none; } .yard-card-head h3 a:hover { color:var(--yellow); }
.badge.warn { background:rgba(240,115,26,.18); color:var(--orange); margin-top:6px; }
.badge.muted-badge { background:rgba(255,255,255,.08); color:var(--text2); }
.grow { flex:1; min-width:0; }
.small-btn { padding:6px 10px; font-size:13px; }
.row.tight { gap:6px; margin-top:0; }
.row.job-owner { margin-top:6px; }
details > summary.button { list-style:none; cursor:pointer; } details > summary.button::-webkit-details-marker { display:none; }
details[open] > summary.button { border-color:var(--yellow); color:var(--yellow); margin-bottom:6px; }
.people { list-style:none; padding:0; margin:0 0 10px; background:var(--card); border:1px solid var(--line); border-radius:14px; }
.person-row { display:flex; align-items:center; gap:10px; padding:8px 12px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.person-row:last-child { border-bottom:0; }
.person-row > a { display:flex; align-items:center; gap:10px; flex:1; min-width:0; color:var(--text); text-decoration:none; }
.note { border-left:4px solid var(--line); } .note-safety { border-left-color:var(--danger); } .note-hiring { border-left-color:var(--yellow); } .note-note { border-left-color:var(--text3); }
.seg.rsvp { max-width:360px; margin:10px 0 0; } .seg.rsvp button.on { font-weight:600; }
.event-canceled, .event-past { opacity:.75; }
.pay-row { display:grid; grid-template-columns:repeat(auto-fit, minmax(120px, 1fr)); gap:0 10px; }
.company-card, .company-head { display:flex; gap:12px; align-items:flex-start; }
.company-logo { flex:none; width:52px; height:52px; border-radius:12px; overflow:hidden; display:grid; place-items:center; background:linear-gradient(135deg,var(--yellow),var(--orange)); color:#16161A; font-weight:800; font-size:22px; }
.company-logo img { width:100%; height:100%; object-fit:cover; display:block; }
.gear-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:0 12px; }
.gear-card { display:flex; flex-direction:column; padding:0; overflow:hidden; }
.gear-card.sold { opacity:.7; }
.gear-body { padding:12px 14px 14px; }
.gear-photo { height:180px; background:#000; display:grid; place-items:center; }
.gear-photo.empty { background:linear-gradient(135deg,#3a2e00,#16161A); font-size:42px; }
.gear-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.gear-price { font-size:18px; font-weight:700; color:var(--yellow); margin:4px 0; }
.gear-previews, .lid-preview { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; }
.gear-previews img { width:80px; height:80px; object-fit:cover; border-radius:8px; }
.lid-preview img { max-width:220px; max-height:220px; border-radius:10px; display:block; }
.my-lid h2 { display:flex; align-items:center; gap:6px; }
.my-lid h2 .hat-ico { color:var(--yellow); width:22px; height:22px; }
.lid-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:12px; margin:10px 0; }
.lid-tile { margin:0; background:var(--raised); border:1px solid var(--line); border-radius:12px; padding:8px; display:flex; flex-direction:column; gap:4px; }
.lid-tile figcaption { font-size:14px; overflow-wrap:anywhere; }
.lid-tile p { margin:0; }
.lid-tile label.check { margin:4px 0; font-size:13px; }
.lid-photo { aspect-ratio:1 / 1; border-radius:8px; overflow:hidden; background:#000; display:grid; place-items:center; }
.lid-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.lid-upload { margin-top:8px; }
@media (max-width:640px) {
  .tabs a .lbl { font-size:11px; }
  .gear-grid { grid-template-columns:1fr; }
  .lid-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .company-logo { width:44px; height:44px; font-size:18px; }
}
