html.fluxo-barber-app .barber-booking-card__footer {flex-wrap:wrap;gap:14px}
html.fluxo-barber-app .barber-booking-card__actions {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;width:100%;min-width:0}
html.fluxo-barber-app .barber-booking-card__actions button {min-width:0;min-height:46px!important;padding:10px 4px!important;font-size:clamp(12px,3.4vw,14px)!important;border-radius:14px!important}
html.fluxo-barber-app .barber-booking-card__actions .barber-booking-card__edit {color:#d8eee6!important;background:#233740!important;border:1px solid #45616a!important;font-weight:650;opacity:1!important}
#barber-appointment-edit {box-sizing:border-box;width:calc(100% - 28px);max-width:500px;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);margin:auto;padding:0;border:1px solid #3c515c;border-radius:26px;background:#17232c;color:#f2f6f8;box-shadow:0 24px 80px #0008;overflow:hidden;color-scheme:dark}
#barber-appointment-edit::backdrop {background:rgba(3,10,15,.76);backdrop-filter:blur(5px)}
#barber-appointment-edit * {box-sizing:border-box;min-width:0}
#barber-appointment-edit form {display:flex;flex-direction:column;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 34px);margin:0}
#barber-appointment-edit header {display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px;border-bottom:1px solid #34464f;flex-shrink:0}
#barber-appointment-edit h2 {font-size:22px;line-height:1.25;font-weight:700;margin:5px 0 7px;color:#f2f6f8}
#barber-appointment-edit [data-client] {font-size:16px;color:#b6c7cd;line-height:1.4;margin:0;overflow-wrap:anywhere}
#barber-appointment-edit .appointment-edit-eyebrow {font-size:11px;letter-spacing:.15em;color:#9bd6b6}
#barber-appointment-edit button {font-family:inherit;cursor:pointer;opacity:1;color:#e4f0f2;font-weight:650;font-size:16px;border:1px solid #39525c;background:#243740;border-radius:14px;min-height:48px;line-height:1.3;padding:12px;touch-action:manipulation}
#barber-appointment-edit header button {width:46px;min-width:46px;font-size:28px;line-height:1;padding:8px}
#barber-appointment-edit .appointment-edit-body {padding:20px 22px;overflow-y:auto;overscroll-behavior:contain;min-height:0;-webkit-overflow-scrolling:touch}
#barber-appointment-edit [data-summary] {font-size:14px;line-height:1.5;color:#aec1c9;margin:0 0 20px}
#barber-appointment-edit fieldset {padding:0;margin:0;border:0}
#barber-appointment-edit legend,#barber-appointment-edit .appointment-edit-amount {font-size:15px;font-weight:600;color:#c9d9df;margin:0 0 12px}
#barber-appointment-edit [data-procedures] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#barber-appointment-edit [data-procedures] label {cursor:pointer;position:relative;display:flex;align-items:center;gap:9px;min-height:62px;padding:12px;border:1px solid #3a515d;border-radius:14px;background:#20323c;font-size:14px;line-height:1.3;color:#edf5f7;font-weight:600;overflow-wrap:anywhere}
#barber-appointment-edit [data-procedures] label:has(input:checked) {border-color:#57b585;background:#1b4532;color:#bef0d4}
#barber-appointment-edit [name=procedure] {appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:#16a34a}
#barber-appointment-edit .appointment-edit-amount {display:block;margin-top:22px}
#barber-appointment-edit [name=amount] {display:block;width:100%;height:52px;margin-top:10px;padding:12px 15px;background:#0f1c25;color:#fff;border:1px solid #435a64;border-radius:14px;font-size:18px;line-height:1.4;user-select:text;-webkit-user-select:text}
#barber-appointment-edit .appointment-edit-hint {font-size:13px;line-height:1.5;color:#a9bec8;margin:16px 0 0}
#barber-appointment-edit [data-error] {color:#ffc0cb;background:#422631;padding:12px;border-radius:12px;font-size:14px;line-height:1.4;margin:14px 0 0}
#barber-appointment-edit footer {padding:16px 22px;display:grid;grid-template-columns:1fr 2fr;gap:10px;border-top:1px solid #34464f;flex-shrink:0;background:#17232c}
#barber-appointment-edit [type=submit] {background:#16a34a;border-color:#29ac60;color:#06180d}
#barber-appointment-edit button:disabled {opacity:.6;cursor:wait}
#barber-appointment-edit [hidden] {display:none!important}
#barber-appointment-edit :focus-visible {outline:2px solid #9fe7bd;outline-offset:3px}
@media(max-width:380px){
 #barber-appointment-edit [data-procedures] {grid-template-columns:1fr}
 #barber-appointment-edit [data-procedures] label {min-height:50px}
}

html.fluxo-barber-app #app-container #tab-barber-schedule .dash-barber-day-col__body {max-height:none!important;overflow:visible!important}

/* Completed visits have a single, explicit cancellation action. */
html.fluxo-barber-app .barber-booking-card.is-completed .barber-booking-card__actions {grid-template-columns:minmax(0,1fr)}
