/* Compact staff bookings: the same time/name/details hierarchy as the POS list.
   Keep existing action hooks, full notes and shared touch targets. */
html[data-dp-surface="staff"] .res-card{
 display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;
 column-gap:var(--dpui-space-2);row-gap:var(--dpui-space-1);
 padding:var(--dpui-space-2);margin-bottom:var(--dpui-space-2);
}
html[data-dp-surface="staff"] .res-card>.res-time{
 grid-column:1;grid-row:1;width:auto;min-width:0;align-self:start;
 display:flex;flex-direction:row;justify-content:start;gap:0;
 padding:0;background:none;color:var(--dpui-text);
}
html[data-dp-surface="staff"] .res-time :is(.rt-h,.rt-m){
 font-size:var(--dpui-font-base);font-weight:var(--dpui-weight-bold);
 line-height:var(--dpui-line-body);opacity:1;
}
html[data-dp-surface="staff"] .res-time .rt-h::after{content:':'}
html[data-dp-surface="staff"] .res-card>div:not(.res-time){display:contents}
html[data-dp-surface="staff"] .res-card>div:not(.res-time)>div{
 grid-column:1/-1;min-width:0;overflow-wrap:anywhere;
}
html[data-dp-surface="staff"] .res-card>div:not(.res-time)>div:first-child{
 grid-column:2;grid-row:1;
}
html[data-dp-surface="staff"] .res-card .res-acts{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(var(--dpui-space-8) * 4)),1fr));
 gap:var(--dpui-space-2);margin-top:var(--dpui-space-1);
}
html[data-dp-surface="staff"] .res-card .res-acts>.res-act{
 min-width:0;max-width:100%;white-space:normal;
 padding-inline:var(--dpui-space-2);
}
@layer dreampos-controls{
html[data-dp-surface="staff"] .res-card .res-acts>.res-act{
 font-size:var(--dpui-font-sm)!important;
 padding-inline:var(--dpui-space-2)!important;
 min-height:var(--dpui-control-height)!important;
}
@media(pointer:coarse){
html[data-dp-surface="staff"] .res-card .res-acts>.res-act{min-height:var(--dpui-touch-height)!important}
}
}
html[data-dp-surface="staff"] .res-card [hidden]{display:none!important}
@media(min-width:600px){html[data-dp-surface="staff"] .res-card{row-gap:0}}
