.tripcard-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.clone-panel,.clone-trip-panel{max-width:760px;margin-inline:auto}
.branch-manager{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff 0,#fff 11rem)}
.branch-manager-head{display:flex;justify-content:space-between;gap:1rem;align-items:start}
.branch-manager-head h2{margin-bottom:.25rem}
.branch-manager-head p{margin:0;color:#475569}
.branch-card{margin-top:1rem;padding:1rem;border:1px solid #bfdbfe;border-radius:14px;background:#fff}
.branch-card-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.75rem}
.branch-card-head b,.branch-card-head span{display:block}.branch-card-head span{color:#64748b;font-size:.86rem}.branch-card-head em{font-style:normal;font-weight:800;color:#1d4ed8}
.branch-option-list{display:grid;gap:.6rem}.branch-option{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.75rem;border:1px solid #e2e8f0;border-radius:10px}.branch-option.selected{border-color:#60a5fa;background:#eff6ff}.branch-option.archived{opacity:.66;background:#f8fafc}.branch-option small{display:block;color:#64748b}.branch-option-actions{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}.branch-option-actions form{margin:0}.branch-option-actions details{position:relative}.branch-option-actions details>form{display:flex;gap:.4rem;align-items:end;margin-top:.5rem}
.branch-badge{display:inline-block;margin-left:.4rem;padding:.1rem .45rem;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:.72rem}.branch-badge.muted{background:#e2e8f0;color:#475569}
.branch-add-option{display:flex;gap:.6rem;align-items:end;margin-top:.8rem}.branch-add-option label{flex:1}.branch-create{margin-top:1rem}.branch-dissolve{margin-top:.8rem;padding-top:.8rem;border-top:1px dashed #cbd5e1;text-align:right}
.branch-editing-notice,.active-branches{display:flex;gap:.8rem;align-items:center;justify-content:space-between;margin:1rem 0;padding:.8rem 1rem;border:1px solid #f59e0b;border-radius:12px;background:#fffbeb}.branch-editing-notice span{flex:1;color:#78350f}.active-branches{border-color:#93c5fd;background:#eff6ff}.active-branches>div{display:flex;gap:.65rem;align-items:baseline;flex-wrap:wrap}.active-branches span{color:#1d4ed8;font-weight:800}.active-branches small{color:#64748b}
.branch-anchor-note{display:inline-flex;align-items:center;padding:.4rem .65rem;border-radius:999px;background:#e0f2fe;color:#075985;font-size:.78rem;font-weight:700}
.service-payment{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;padding:.7rem;border-radius:10px;background:#f8fafc}
.service-payment [hidden]{display:none!important}
@media(max-width:760px){.branch-card-head,.branch-option{align-items:stretch;display:grid}.branch-option-actions{align-items:stretch}.branch-option-actions>*{flex:1}.branch-add-option{display:grid}.branch-editing-notice{align-items:stretch;display:grid}.service-payment{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.service-payment{grid-template-columns:1fr}}
