.appointment-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.appointment-toolbar h2 { margin: 0 0 5px; font-size: 18px; }
.appointment-toolbar p { margin: 0; color: var(--muted); }
.appointment-toolbar form { display: flex; align-items: end; gap: 8px; }
.appointment-toolbar-actions { display: flex; align-items: end; gap: 8px; }
.appointment-toolbar .sync-kiotviet { border-color: #2563eb; background: #2563eb; color: #fff; font-weight: 700; white-space: nowrap; }
.appointment-toolbar label { display: grid; gap: 6px; color: #64748b; font-size: 12px; font-weight: 700; }
.appointment-toolbar a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.appointment-panel .table-wrap { min-height: 420px; }
.appointment-table { min-width: 1400px; }
.appointment-table th { white-space: nowrap; }
.appointment-time { white-space: nowrap; }
.appointment-values { display: flex; flex-wrap: wrap; gap: 5px; }
.appointment-values > span:not(.muted),.booking-status { display: inline-block; padding: 4px 8px; border-radius: 7px; background: #eef2ff; color: #4f46e5; font-size: 12px; }
.booking-status { background: #ecfdf5; color: #047857; white-space: nowrap; }
.alert a { font-weight: 700; text-decoration: underline; }
.kiotviet-settings-panel { margin-bottom: 20px; }
@media(max-width:900px){.appointment-toolbar,.appointment-toolbar-actions{align-items:stretch;flex-direction:column}.appointment-toolbar form{align-items:stretch;flex-direction:column}.appointment-panel .table-wrap{min-height:360px}}
