/* Han An Hua v48 — responsive collaboration + address picker */

/* The fifth collaboration card must never collapse into a narrow vertical strip. */
.collab-wheel{min-width:0}
.collab-item{min-width:0}
.collab-item.collab-industry{
  grid-column:1 / -1;
  width:min(100%,430px);
  max-width:430px;
  min-width:0;
  justify-self:center;
}
@media (max-width:820px){
  .collab-wheel{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
  }
  .collab-item,
  .collab-item:nth-child(even),
  .collab-item.collab-industry{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  .collab-item strong{overflow-wrap:normal;word-break:normal}
}

/* Address helper */
.address-helper{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:10px 0 0;
}
.address-map-button,
.address-format-button{
  min-height:44px;
  border:2px solid var(--ink,#151515);
  border-radius:14px;
  padding:9px 14px;
  background:#fff;
  color:var(--ink,#151515);
  font:inherit;
  font-weight:800;
  cursor:pointer;
  box-shadow:3px 3px 0 #e8dfbd;
}
.address-map-button{background:#ffd12b}
.address-map-button:hover,.address-format-button:hover{transform:translateY(-1px)}
.address-example{
  flex-basis:100%;
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:#666;
}
.address-map-dialog{
  width:min(920px,calc(100% - 28px));
  max-height:calc(100% - 28px);
  padding:24px;
  border:3px solid #171717;
  border-radius:26px;
  background:#fffdf4;
  box-shadow:10px 10px 0 #171717;
}
.address-map-dialog::backdrop{background:rgba(0,0,0,.58)}
.address-map-head{padding-right:42px}
.address-map-head h2{margin:2px 0 8px;font-family:var(--display,"Archivo Black",sans-serif);font-size:clamp(25px,4vw,38px)}
.address-map-head p{margin:0 0 18px;color:#5f5b50}
.address-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.address-search-row input{min-width:0;min-height:48px}
.address-search-row button{min-height:48px}
.address-location-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.address-picker-status{min-height:22px;margin:12px 0 0;font-size:14px;font-weight:700;color:#665d42}
.address-results{display:grid;gap:9px;margin:14px 0 0;padding:0;list-style:none}
.address-result{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  border:2px solid #c8bea0;
  border-radius:14px;
  padding:11px 12px;
  background:#fff;
}
.address-result button{min-height:42px;border:2px solid #171717;border-radius:12px;background:#ffd12b;font-weight:900;padding:8px 12px;cursor:pointer}
.address-result strong{display:block;line-height:1.35}
.address-result small{display:block;margin-top:4px;color:#6d685b;line-height:1.35}
.address-map-preview{
  width:100%;
  min-height:300px;
  border:2px solid #171717;
  border-radius:18px;
  margin-top:16px;
  background:#eee;
}
.address-map-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
@media(max-width:620px){
  .address-search-row{grid-template-columns:1fr}
  .address-map-dialog{padding:18px;border-radius:20px}
  .address-result{grid-template-columns:1fr}
  .address-result button{width:100%}
  .address-map-preview{min-height:240px}
  .address-map-actions{display:grid;grid-template-columns:1fr}
  .address-map-actions button{width:100%}
}
