.agenda-smart-panel{margin:12px 0;padding:12px;border:1px solid #d9d9d9;border-radius:8px;background:#fff;color:#262626;font:inherit}
.agenda-smart-panel>summary{cursor:pointer;font-weight:600;min-height:32px}
.agenda-smart-fields{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}
.agenda-smart-field{display:flex;flex-direction:column;gap:6px;flex:1;min-width:180px;max-width:100%}
.agenda-smart-panel input,.agenda-smart-panel select,.agenda-smart-panel textarea{padding:8px;border:1px solid #bfbfbf;border-radius:6px;min-height:36px;color:#262626;background:#fff}
.agenda-smart-panel input[type=checkbox]{min-height:auto}
.agenda-smart-panel button,.agenda-smart-preference button{padding:7px 12px;border:1px solid #bfbfbf;border-radius:6px;background:#fafafa;cursor:pointer;min-height:36px}
.agenda-smart-panel button:disabled{opacity:.5;cursor:default}
.agenda-smart-muted{color:#666}
.agenda-smart-available{color:#237804}
.agenda-smart-unavailable,.agenda-smart-error{color:#a61d24}
.agenda-smart-waitlist-trigger{margin:8px 0;padding:6px 10px;border:1px solid #d6d6d6;border-radius:6px;background:#fff;color:#333;cursor:pointer}
.agenda-smart-ant-drawer .ant-drawer-content-wrapper{max-width:100vw}
.agenda-smart-ant-drawer .ant-drawer-body{padding:22px;color:#262626}
.agenda-smart-ant-drawer .ant-drawer-content{background:#fff;color:#262626}
.agenda-smart-modal{width:auto;height:auto;min-height:100%;max-height:none;overflow:visible;padding:0;border-radius:0;background:transparent;color:#262626;box-shadow:none;font:inherit}
.agenda-smart-modal>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.agenda-smart-modal h2{margin:0 0 4px;font-size:21px}.agenda-smart-modal h3{margin:20px 0 6px;font-size:15px}.agenda-smart-modal header p,.agenda-smart-context{margin:4px 0 12px;color:#666}
.agenda-smart-modal .agenda-smart-fields{margin:12px 0}
.agenda-smart-modal .agenda-smart-consent{display:flex;align-items:flex-start;gap:9px;margin:14px 0;padding:12px;border-radius:8px;background:#f6f8fa;line-height:1.4}
.agenda-smart-modal .agenda-smart-consent input{margin-top:3px;min-height:0}
.agenda-smart-modal button{padding:7px 12px;border:1px solid #bfbfbf;border-radius:6px;background:#fafafa;cursor:pointer;min-height:36px}
.agenda-smart-modal button:disabled{opacity:.5;cursor:default}
.agenda-smart-modal .agenda-smart-success{color:#237804}
.agenda-smart-waitlist-list{margin-top:14px;border-top:1px solid #eee}
.agenda-smart-waitlist-card{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:10px 0;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.agenda-smart-waitlist-card p{margin:5px 0;color:#555}.agenda-smart-waitlist-card small{color:#237804}
.agenda-smart-waitlist-manager{margin:4px 12px 8px;font-size:13px}
.agenda-smart-error{color:#a61d24}
.agenda-smart-pause{position:absolute;left:0;right:0;pointer-events:none;z-index:2;background:repeating-linear-gradient(135deg,rgba(255,255,255,.45),rgba(255,255,255,.45) 5px,rgba(0,0,0,.12) 5px,rgba(0,0,0,.12) 10px);border-top:1px dashed #555;border-bottom:1px dashed #555;overflow:hidden}
.agenda-smart-pause>span{display:block;font-size:10px;line-height:12px;color:#111;background:rgba(255,255,255,.7);width:max-content;padding:0 3px}
.agenda-smart-event-container{position:relative;height:100%;width:100%}
.agenda-smart-attendance-actions{display:inline-flex;gap:8px;align-items:center}
.fc-event.calendar-no-show{background:#e5e7eb!important;border-color:#9ca3af!important;color:#374151!important}
.agenda-smart-no-show-content{background:#e5e7eb!important;color:#374151!important}
.agenda-smart-no-show-content *{color:inherit!important}
.agenda-smart-no-show-label{display:inline-block;margin-right:4px;padding:0 3px;border-radius:3px;background:#d1d5db;font-size:9px;line-height:12px;font-weight:600;vertical-align:1px;white-space:nowrap}
@media(max-width:768px){.agenda-smart-schedule-actions{flex-wrap:wrap;gap:8px}.agenda-smart-schedule-actions>*{flex:1 1 calc(50% - 8px);margin-right:0!important;min-width:0}.agenda-smart-attendance-actions>button{flex:1;min-height:44px}}
@media(max-width:600px){.agenda-smart-field{min-width:100%}.agenda-smart-preference{align-items:flex-start}.agenda-smart-panel{padding:10px}.agenda-smart-ant-drawer .ant-drawer-content-wrapper{width:100vw !important}.agenda-smart-ant-drawer .ant-drawer-body{padding:16px}.agenda-smart-schedule-preference{align-items:flex-start}.agenda-smart-waitlist-manager{margin:0 4px;padding:5px 7px;font-size:12px}}

.agenda-smart-employee-field{display:flex;align-items:center;gap:4px;min-width:0;width:100%}
.agenda-smart-employee-field>.ant-form-item,.agenda-smart-employee-field>.ant-select{flex:1;min-width:0;margin-bottom:0}
.agenda-smart-employee-field .ant-form-item-control-input-content{display:flex;align-items:center;gap:4px;min-width:0}
.agenda-smart-employee-field .ant-form-item-control-input-content>.ant-select{flex:1;min-width:0}
.agenda-smart-preference-star.ant-btn{flex:0 0 28px;width:28px;height:36px;padding:4px;color:#bfbfbf;border-radius:8px;font-size:19px}
.agenda-smart-preference-star.ant-btn[aria-pressed=true]{color:#faad14}
.agenda-smart-preference-star.ant-btn:focus-visible{outline:2px solid #5746ed;outline-offset:1px}
.agenda-smart-conflict-options{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:6px 0 12px;font-size:13px;flex-wrap:wrap}
.agenda-smart-conflict-options>span{margin-right:auto;color:#a61d24}
.agenda-smart-waitlist-confirm p{margin:0 0 12px}

.agenda-smart-employee-field{flex-wrap:nowrap!important}
.agenda-smart-employee-field>.ant-col:first-child{flex:1 1 0;max-width:none;min-width:0}
.agenda-smart-employee-field>.ant-col:last-child{flex:0 0 28px;max-width:28px;padding:0!important}
.agenda-smart-client-preference-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.agenda-smart-client-preference-editor{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.agenda-smart-client-preference-editor>.ant-select{flex:1 1 160px;min-width:0}
@media(max-width:575px){.agenda-smart-client-preference-editor>.ant-select{flex-basis:100%}}
.fc-event.agenda-smart-preference-event::before,.agenda-smart-preference-overlay{content:'';position:absolute;inset:0;border-radius:inherit;opacity:.15;pointer-events:none;z-index:3;background-repeat:repeat;background-size:64px 44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='44' viewBox='0 0 64 44'%3E%3Cpath fill='white' d='M17 5.5l1.1 2.3 2.6.4-1.9 1.8.5 2.5-2.3-1.2-2.3 1.2.5-2.5-1.9-1.8 2.6-.4zM48 28l.9 1.9 2.1.3-1.5 1.5.3 2.1-1.8-1-1.8 1 .3-2.1-1.5-1.5 2.1-.3z'/%3E%3C/svg%3E")}
