/* CampToMe T18 – Status rechts, Kontakt oben, chronologischer Verlauf. */
.campsite-workflow-list-head,#campsiteWorkflowList .workflow-item,
.camper-workflow-list-head,#requestOverviewList .camper-flow-item{
  grid-template-columns:minmax(185px,1fr) minmax(270px,2.2fr) minmax(112px,.6fr) 32px!important;
  gap:12px!important;align-items:center!important;
}
#campsiteWorkflowList .workflow-item>.workflow-current-status,
#requestOverviewList .camper-flow-item>.camper-current-status{justify-self:end!important;white-space:nowrap!important;text-align:right!important}
.campsite-workflow-list-head>span:nth-child(3),.camper-workflow-list-head>span:nth-child(3){text-align:right!important}
#campsiteWorkflowList .workflow-item>.workflow-more,#requestOverviewList .camper-flow-item>.camper-trip-more{justify-self:end!important}
.ctm-t18-header-contact{display:flex;gap:4px 8px;flex-wrap:wrap;align-items:baseline;font-size:12px;color:#526b7b;line-height:1.5;padding-top:5px;overflow-wrap:anywhere}
.ctm-t18-header-contact:empty{display:none}
.ctm-t18-header-contact strong{color:#102f42;font-weight:750}
.ctm-t18-header-contact a{color:#255f7e;font-weight:400;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.ctm-t18-timeline{margin:18px 0 2px;padding:16px 18px;border:1px solid #dce6ec;border-radius:12px;background:#f9fbfc}
.ctm-t18-timeline h5{font-size:15px;font-weight:750;color:#082f48;margin:0 0 14px}
.ctm-t18-timeline ol{list-style:none;padding:0;margin:0;display:grid;gap:0}
.ctm-t18-timeline li{display:flex;gap:13px;align-items:stretch;min-width:0}
.ctm-t18-dot{position:relative;flex:0 0 11px;width:11px;height:11px;margin-top:6px;border-radius:50%;background:#fa751e;box-shadow:0 0 0 3px #fff5ed}
.ctm-t18-timeline li:not(:last-child) .ctm-t18-dot:after{content:"";position:absolute;top:14px;left:5px;width:1px;height:calc(100% + 15px);background:#d2e0e7}
.ctm-t18-item{display:flex;flex-wrap:wrap;gap:3px 16px;justify-content:space-between;align-items:baseline;min-width:0;flex:1;padding:1px 0 17px}
.ctm-t18-timeline li:last-child .ctm-t18-item{padding-bottom:0}
.ctm-t18-label{font-size:12.5px;color:#153e54;font-weight:550;overflow-wrap:anywhere}
.ctm-t18-item time{font-size:11.5px;color:#607889;font-weight:400;white-space:nowrap}
@media(max-width:900px){
  .campsite-workflow-list-head,.camper-workflow-list-head{display:none!important}
  #campsiteWorkflowList .workflow-item,#requestOverviewList .camper-flow-item{
    grid-template-columns:minmax(0,1fr) auto 32px!important;gap:8px 12px!important;
  }
  #campsiteWorkflowList .workflow-item>.workflow-person,#requestOverviewList .camper-flow-item>.camper-trip-identity{grid-column:1!important;grid-row:1!important;min-width:0}
  #campsiteWorkflowList .workflow-item>.workflow-details,#requestOverviewList .camper-flow-item>.camper-trip-details{grid-column:1/-1!important;grid-row:2!important;min-width:0;overflow:visible!important;flex-wrap:wrap!important}
  #campsiteWorkflowList .workflow-item>.workflow-current-status,#requestOverviewList .camper-flow-item>.camper-current-status{grid-column:2!important;grid-row:1!important;justify-self:end!important}
  #campsiteWorkflowList .workflow-item>.workflow-more,#requestOverviewList .camper-flow-item>.camper-trip-more{grid-column:3!important;grid-row:1!important;justify-self:end!important}
}
@media(max-width:500px){
  #campsiteWorkflowList .workflow-item,#requestOverviewList .camper-flow-item{grid-template-columns:minmax(0,1fr) auto 28px!important;gap:6px!important}
  .ctm-t18-timeline{padding:14px 12px}
  .ctm-t18-item{display:block}
  .ctm-t18-item time{display:block;padding-top:2px}
  .ctm-t18-header-contact{font-size:11px}
}

/* Creator: one orange CTA at a time; show the form only after explicit click. */
body.role-camper .camper-trip-creator#request{display:none!important}
body.role-camper.ctm8b4-creator-open .camper-trip-creator#request{display:block!important}
body.role-camper #ctm8b4CreateRequest[hidden]{display:none!important}
body.role-camper .ctm8b4-creator-actions{display:flex;grid-column:4/-1;gap:8px;justify-content:flex-end;align-items:end;flex-wrap:wrap}
body.role-camper .ctm8b4-creator-actions .quick-request-submit{min-height:42px}
body.role-camper .ctm8b4-cancel-request{min-height:42px;border:1px solid #d5dfe6;background:#f5f8fa;color:#183e56;border-radius:10px;padding:8px 13px;font:inherit;font-size:12px;cursor:pointer}
body.role-camper .ctm8b4-cancel-request:hover{background:#eaf1f5}
body.role-camper .ctm8b4-cancel-request:focus-visible{outline:3px solid #f5a36c;outline-offset:2px}
@media(max-width:900px){body.role-camper .ctm8b4-creator-actions{grid-column:1/-1;justify-content:flex-start}}
