.rt-switch,.rt-controls,.rt-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rt-switch{margin-bottom:16px}.rt-controls{justify-content:space-between;margin:16px 0}.rt-controls label{display:flex;align-items:center;gap:12px}.rt-controls input,.rt-controls select{width:auto;min-width:0}.rt-summary,.rt-note{color:var(--muted,#738384);font-size:.875rem}.rt-scroll{overflow:auto;max-width:100%;border:1px solid #d6e2de;border-radius:16px;background:white;max-height:70vh;position:relative;overscroll-behavior-x:contain;overscroll-behavior-y:auto}.rt-grid{width:calc(var(--rt-width) + 180px);min-width:100%}.rt-row{display:flex;min-height:var(--rt-height,64px);border-bottom:1px solid #e3ebe8}.rt-table{position:sticky;left:0;z-index:3;flex:0 0 180px;width:180px;padding:14px;background:#fafcfb;border-right:1px solid #d6e2de;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:5px}.rt-table small{font-size:11px;color:#738384;overflow-wrap:anywhere}.rt-track{position:relative;flex-shrink:0;background:repeating-linear-gradient(to right,transparent 0,transparent 91px,#e3ebe8 91px,#e3ebe8 92px)}.rt-head{position:sticky;top:0;z-index:5;min-height:48px;background:#f1f6f3}.rt-head .rt-table{background:#f1f6f3}.rt-hours{display:flex;align-items:center;flex-shrink:0}.rt-hours span{width:92px;flex-shrink:0;font-size:13px;font-weight:700;padding-left:8px;box-sizing:border-box}.rt-track .rt-booking{position:absolute;box-sizing:border-box;border-radius:8px;min-width:0;height:58px;padding:7px 9px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;text-align:left;overflow:hidden;box-shadow:none;border:1px solid #9ac6be;background:#e4f2ee;color:#174c4f}.rt-booking strong,.rt-booking span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.rt-booking strong{font-size:13px}.rt-track .present{background:#174c4f;color:white}.rt-track .completed{background:#edf0ee;color:#697773;border-color:#d6ddd9}.rt-track .no-show,.rt-track .cancelled{background:#fce8e3;border-color:#eaa99d;color:#923f32}.rt-track .walkin{background:#fff0d4;border-color:#e6c07b}.rt-now{position:absolute;top:0;bottom:0;width:2px;background:#ec785f;pointer-events:none;z-index:2}.rt-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:12px}.rt-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#9ac6be;margin-right:7px}.rt-legend .present:before{background:#174c4f}.rt-legend .completed:before{background:#9fa9a4}.rt-legend .no-show:before{background:#ec785f}.rt-empty{padding:24px}.rt-note{margin:12px 0}@media(max-width:600px){.rt-controls{align-items:flex-start;flex-direction:column}.rt-date{width:100%;flex-wrap:nowrap}.rt-date input{flex:1;width:0;font-size:14px}.rt-date button{padding:10px}.rt-table{flex-basis:130px;width:130px;padding:10px}.rt-grid{width:calc(var(--rt-width) + 130px)}.rt-controls label{width:100%}.rt-controls select{flex:1}.rt-summary{font-size:12px}}

.rt-table{min-width:0;overflow-wrap:anywhere;}
.rt-table strong{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}

/* One vertical scroll surface on mobile; the timeline still pans horizontally. */
@media(max-width:700px){.rt-scroll{max-height:none;}}

.rt-table .rt-unassigned-label{hyphens:manual;-webkit-hyphens:manual;word-break:normal;overflow-wrap:normal;}
