/* Review polish only: preserve the approved scene, service rail and chapter geometry. */
body.page-services-labour-scheduling .driver-list {background:var(--paper);border:1px solid var(--linen);border-top:2px solid var(--brass);box-shadow:var(--shadow-paper);padding:28px;}
body.page-services-labour-scheduling .driver {padding:22px 18px;background:linear-gradient(160deg,var(--paper),var(--ivory));}
body.page-services-labour-scheduling .driver-num {color:var(--clay-deep);}
body.page-services-labour-scheduling .input-card {padding:30px;background:var(--paper);border:1px solid var(--linen);border-top:2px solid var(--brass);box-shadow:var(--shadow-paper);}
body.page-services-labour-scheduling .inputs > .prose-note {max-width:80ch;margin:36px 0 20px;font-size:16px;color:var(--muted);}
body.page-services-labour-scheduling .scheduling-preserved-notes {max-width:850px;margin:40px 0;border-top:1px solid var(--brass);}
body.page-services-labour-scheduling .scheduling-preserved-notes details {border-bottom:1px solid rgba(211,176,122,.4);padding:16px 0;}
body.page-services-labour-scheduling .scheduling-preserved-notes summary {cursor:pointer;min-height:44px;font:400 24px/1.35 var(--serif);}
body.page-services-labour-scheduling .scheduling-preserved-notes details p {font-size:16px;max-width:75ch;margin:16px 0;}
body.page-services-labour-scheduling .scheduling-related {display:flex;flex-wrap:wrap;gap:12px 28px;margin:24px 0;}
body.page-services-labour-scheduling .scheduling-related a {display:inline-flex;min-height:44px;align-items:center;font-size:15px;}
body.page-services-labour-scheduling .essay-copy > p {font-size:16px;}
body.page-services-labour-scheduling .essay-image img {height:100%;object-fit:cover;}
html.motion-ok body.page-services-labour-scheduling .input-card {transition:transform 300ms var(--ease),box-shadow 300ms var(--ease);}
html.motion-ok body.page-services-labour-scheduling .input-card:hover {transform:translateY(-4px);box-shadow:var(--shadow-lift);}
body.page-services-labour-scheduling .input-card:active {transform:translateY(1px);}
@media(max-width:600px){body.page-services-labour-scheduling .driver-list {padding:12px;}body.page-services-labour-scheduling .driver,body.page-services-labour-scheduling .input-card {padding:24px 20px;}}
/* A narrow service rail must shrink with its grid, without clipping its labels. */
body.page-services-labour-scheduling :is(.day-grid,.day-stage,.day-panel,.period-tabs,.period,.period-detail) {min-width:0;}
body.page-services-labour-scheduling .period-tabs {grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:600px){body.page-services-labour-scheduling .day-grid {grid-template-columns:minmax(0,1fr);}body.page-services-labour-scheduling .day-panel {padding:24px 20px;}body.page-services-labour-scheduling .p-name {font-size:clamp(16px,4.5vw,22px);overflow-wrap:break-word;}body.page-services-labour-scheduling .period {padding-right:6px;}}
