.ama-portal-list article.is-cancelled{margin:6px 0;border:1px solid #fecaca;border-radius:12px;background:#fff5f5;opacity:.92}
.ama-portal-list article.is-cancelled time,.ama-portal-list article.is-cancelled div>span{color:#b42318}
.ama-portal-list article.is-cancelled>i{background:#fee2e2;color:#b42318}
.ama-portal-queue{border-right:5px solid #f59e0b;background:linear-gradient(135deg,#fffbeb,#fff)}
.ama-portal-queue.is-active{border-right-color:#0ea5e9;background:linear-gradient(135deg,#ecfeff,#fff)}
.ama-portal-queue-icon{background:linear-gradient(145deg,#fef3c7,#fde68a);color:#b45309;box-shadow:0 8px 20px rgba(245,158,11,.18)}
.ama-portal-queue.is-active .ama-portal-queue-icon{background:linear-gradient(145deg,#dbeafe,#bae6fd);color:#0369a1}
.ama-portal-queue-icon svg,.ama-portal-section-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ama-portal-appointments{border-top:5px solid #2878f5}.ama-portal-rx{border-top:5px solid #8b5cf6}
.ama-portal-card-title{display:flex;align-items:center;gap:12px}.ama-portal-card-title>div{display:grid;gap:2px}.ama-portal-card-title small{color:#64748b;font-size:10px;font-weight:500}
.ama-portal-section-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px}
.ama-portal-section-icon.appointments{background:#eaf3ff;color:#1d6ce5}.ama-portal-section-icon.rx{background:#f1eafe;color:#7c3aed}
.ama-portal-appointments>header{background:linear-gradient(135deg,#eff6ff,#fff)}.ama-portal-rx>header{background:linear-gradient(135deg,#faf5ff,#fff)}
.ama-appointment-copy{min-width:0}.ama-appointment-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:7px!important;margin-top:8px}
.ama-appointment-actions button,.ama-appointment-editor button{min-height:32px;padding:5px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#175fa9;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.ama-appointment-actions .ama-appointment-cancel{border-color:#fecaca;background:#fff5f5;color:#b42318}.ama-appointment-actions button:hover{transform:translateY(-1px)}
.ama-appointment-editor{display:grid!important;gap:10px!important;margin-top:10px;padding:12px;border:1px solid #bfdbfe;border-radius:12px;background:#f8fbff}.ama-appointment-editor[hidden]{display:none!important}
.ama-appointment-editor label{display:grid;gap:5px;font-size:11px;font-weight:800}.ama-appointment-editor input{min-height:40px;border:1px solid #cbd8e8;border-radius:8px;background:#fff}
.ama-appointment-editor [data-edit-slots]{display:flex;flex-wrap:wrap;gap:7px}.ama-appointment-editor [data-edit-slots]>span{color:#64748b;font-size:11px}
.ama-appointment-editor [data-edit-slot].selected{border-color:#1769aa;background:#1769aa;color:#fff}.ama-appointment-editor .ama-save-reschedule{border-color:#15803d;background:#15803d;color:#fff}
.ama-appointment-editor [data-edit-status]{margin:0;font-size:11px;font-weight:800}.ama-appointment-editor [data-edit-status].success{color:#15803d}.ama-appointment-editor [data-edit-status].error{color:#b42318}
@media(max-width:600px){.ama-portal-card-title{align-items:flex-start}.ama-portal-section-icon{flex-basis:42px;width:42px;height:42px}.ama-portal-card-title small{display:none}.ama-appointment-actions{grid-column:1/-1}}
