.service-mini-art{display:inline-flex;position:relative;width:24px;height:26px;align-items:center;justify-content:center;flex:none;vertical-align:middle;margin-right:8px}
.service-mini-art img{display:block;width:100%;height:100%;object-fit:contain}.service-mini-art .service-art-dark{display:none}
body[data-theme=dark] .service-mini-art .service-art-dark{display:block}body[data-theme=dark] .service-mini-art .service-art-light{display:none}
.agenda-service-art-strip{display:flex;gap:6px;justify-content:flex-end;align-items:center;margin:0 0 8px}
.agenda-service-art-strip .service-mini-art{width:26px;height:28px;margin:0;filter:drop-shadow(0 2px 2px #963e5b18)}
.atelier-service-card h3,.agenda-manual-card h3{display:flex;align-items:center}
.agenda-start-help{font-size:12px;line-height:1.75;padding:12px 14px;border-radius:12px;background:var(--surface2);color:var(--muted);margin:12px 0 18px}
body .profile-availability{border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface2) 25%,var(--surface)));padding:24px;box-shadow:0 8px 26px #963e5b08}
body .profile-availability .calendar-day{border-radius:14px;border:1px solid var(--line);transition:background .15s,box-shadow .15s}
body .profile-availability .calendar-day.free{background:color-mix(in srgb,var(--surface2) 60%,var(--surface));color:var(--ink)}
body .profile-availability .calendar-day.free small{color:var(--primary)}
body .profile-availability .calendar-day.closed{background:var(--surface2);color:var(--muted)}
body .profile-availability .calendar-day.is-selected{position:relative;outline:none!important;border-color:transparent!important;box-shadow:none!important;background:var(--surface2);isolation:isolate;overflow:visible;z-index:1}
body .profile-availability .calendar-day.is-selected[data-day]::after{content:'';display:block;position:absolute;inset:-4px;width:auto;height:auto;border-radius:0;visibility:visible;pointer-events:none;background:url('../assets/agenda/selected-day-frame-v1.png') center/100% 100% no-repeat;z-index:2}
body .profile-availability .calendar-day.is-selected:focus-visible{outline:2px solid var(--primary)!important;outline-offset:5px}
body[data-theme=dark] .profile-availability .calendar-day.is-selected::after{filter:brightness(.88) saturate(.85)}
.service-type-choice{display:flex;align-items:center;gap:10px;min-width:0}.service-type-choice select{flex:1;min-width:0}.service-type-preview .service-mini-art{width:30px;height:32px;margin:0}.dh-dropdown-option .service-mini-art{width:24px;height:26px;margin:0 8px 0 0}.atelier-service-form label[hidden]{display:none!important}
body .atelier-service-create{display:inline-flex;align-items:center;gap:8px;width:auto;padding:10px 16px;min-height:42px;border-radius:12px}body .atelier-service-create>.dh-custom-icon{width:22px;height:22px;margin:0}
body .dh-dialog-layer .dh-dialog.agenda-save-success{width:min(440px,calc(100vw - 24px))}.agenda-save-success .dh-dialog-body{padding-block:0}.agenda-save-success .dh-dialog-footer{justify-content:flex-end}
body .profile-availability .calendar-day small.agenda-external-count{font-size:0!important;display:inline-grid;place-items:center;width:20px;height:20px;min-height:20px;padding:0;border-radius:50%;overflow:hidden}
body .profile-availability .calendar-day small.agenda-external-count::after{content:attr(data-manual-count);font-size:10px;line-height:1}
body .agenda-side-day-head .agenda-day-actions{display:flex;justify-content:flex-end;margin:16px 0 0}
body .agenda-day-actions .agenda-day-create{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;min-height:36px;font-size:12px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.agenda-day-create .dh-custom-icon{width:20px;height:20px;margin:0}
.agenda-manual-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
body .agenda-manual-card-head .agenda-manual-view,body .agenda-blocked-date .agenda-remove-block{display:grid;place-items:center;flex:none;width:30px;height:30px;min-height:30px;padding:5px;border:1px solid var(--line);border-radius:50%;background:var(--surface);box-shadow:none}
.agenda-manual-view>.dh-custom-icon,.agenda-remove-block>.dh-custom-icon{width:19px;height:19px;margin:0}
.agenda-service-duration-help{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);font-size:12px;line-height:1.8;color:var(--muted)}
.agenda-calendar-guide{margin:20px 0 24px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body .agenda-calendar-guide h4{margin:0 0 14px;font:600 13px/1.5 var(--font-body);color:var(--ink)}
body .profile-availability .agenda-calendar-guide .agenda-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:0}
.agenda-legend-item{display:grid;align-content:start;gap:5px;min-width:0}
.agenda-legend-item>span{font-size:12px;font-weight:600;display:flex;align-items:center;gap:7px;color:var(--ink)}
.agenda-legend-item>small{font-size:11px;line-height:1.6}
body .agenda-calendar-guide .agenda-legend-help{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:11px}
.agenda-attendance-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.agenda-attendance-facts>div{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);min-width:0}
.agenda-attendance-facts dt{font-size:11px;color:var(--muted);margin:0 0 7px}
.agenda-attendance-facts dd{font-size:13px;font-weight:600;line-height:1.5;color:var(--ink);margin:0}
.agenda-attendance-facts .is-receiving{color:var(--primary)}
@media(max-width:420px){body .profile-availability .agenda-calendar-guide .agenda-legend,.agenda-attendance-facts{grid-template-columns:1fr}.agenda-calendar-guide{padding:14px}}
body .agenda-planner-form [hidden]{display:none!important}
.agenda-manual-service-plan,.agenda-manual-budget{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.agenda-manual-form>.agenda-manual-service-plan,.agenda-manual-form>.agenda-manual-budget{grid-column:1/-1}
.agenda-manual-service-plan summary,.agenda-manual-budget summary{font-size:12px;font-weight:600;color:var(--primary);cursor:pointer}
.agenda-manual-service-plan .field,.agenda-manual-budget .field{margin-top:14px}
body .dh-dialog .dh-dialog-confirm{padding:0;display:flex;flex-direction:column;overflow:auto}
body .dh-dialog-layer .dh-dialog:has(>.dh-dialog-confirm){width:min(520px,100%)}
.dh-dialog-confirm .dh-dialog-head{flex:none}.dh-dialog-confirm .dh-dialog-footer{margin:0}
@media(max-width:600px){body .profile-availability{padding:16px}.agenda-service-art-strip{gap:4px}.agenda-service-art-strip .service-mini-art{width:22px;height:24px}body .agenda-side-day-head .agenda-day-actions{justify-content:flex-start}}
@media(max-width:500px){body .profile-availability .calendar-day.is-selected::before{content:'';position:absolute;width:6px;height:6px;bottom:8px;left:calc(50% - 3px);border-radius:50%;background:var(--muted)}body .profile-availability .calendar-day.free.is-selected::before{background:var(--agenda-free,var(--success))}body .profile-availability .calendar-day.full.is-selected::before{background:var(--primary)}}
