.wf-template-list{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.wf-template-list .card{min-width:190px;margin:0}.wf-template-list small{display:block;margin-top:6px}.wf-stage-editor summary,.wf-stage summary{font-size:1.1rem;font-weight:700;padding:14px 0;cursor:pointer}.wf-edit-step{border:1px solid #d9e2e8;border-radius:8px;padding:16px;margin:14px 0;display:grid;grid-template-columns:2fr 1fr;gap:4px 18px}.wf-edit-step p{margin:6px 0}.wf-edit-step input:not([type=checkbox]),.wf-edit-step select{width:100%}.wf-tracker{display:flex;list-style:none;padding:0;margin:12px 0;gap:8px}.wf-tracker li{flex:1;color:#526873;border-top:3px solid #d9e2e8;padding-top:8px;font-size:12px}.wf-tracker li span{display:block;font-weight:700}.wf-tracker li.done{border-color:#168540;color:#126d35}.wf-tracker li.current{border-color:#0099d5;color:#003652;font-weight:700}.wf-step{border-top:1px solid #dce4eb;padding:14px 0}.wf-step-title{display:flex;align-items:center;gap:12px;margin-bottom:6px}.wf-dot{display:inline-flex!important;justify-content:center;align-items:center;border:2px solid #65808f!important;border-radius:50%!important;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;background:white!important;color:#526873!important;font-size:18px!important;line-height:1!important}.wf-complete .wf-dot{background:#178240!important;border-color:#178240!important;color:white!important}.wf-blocked .wf-dot{background:#fff1c0!important;border-color:#a46b00!important;color:#7a4a00!important}.wf-step small{color:#526873}.wf-step details{margin:8px 0 0 42px}.wf-step textarea{display:block;width:100%;max-width:650px;margin:8px 0}.wf-blocker{border-left:4px solid #a46b00;padding:10px;background:#fff6db}.workboard-table .wf-tracker{min-width:165px}.workboard-table .wf-tracker li{font-size:10px}.wf-stage{border-top:1px solid #dce4eb}.wf-line{scroll-margin-top:24px}@media(max-width:650px){.wf-edit-step{grid-template-columns:1fr}.wf-tracker{gap:5px}.wf-tracker li{font-size:10px}.wf-step details{margin-left:0}.wf-line .heading{display:block}.wf-template-list{display:grid;grid-template-columns:1fr}}

/* Shared Release 3 timeline: identical records and actions at both densities. */
.production-timeline{border:1px solid #d7e2e9;border-radius:8px;background:#fff;margin:8px 0;padding:8px;max-width:100%;min-width:0}
.timeline-caption{display:flex;gap:10px;font-size:12px;color:#526873}.timeline-caption strong{color:#002238}
.timeline-product{margin:3px 0!important;border-bottom:1px solid #e3eaf0}.timeline-product:last-of-type{border:0}
.production-timeline .timeline-product-name{padding:5px 2px!important;margin:0!important;font-size:12px!important;line-height:1.3;cursor:pointer;min-height:24px;color:#002238}
.timeline-product-name span{color:#526873;font-weight:400;margin-left:8px}.timeline-product:not([open]) .timeline-product-name{padding:9px 2px!important}
.timeline-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;padding:0 0 4px}.timeline-scroll:focus-visible{outline:3px solid #0099d5;outline-offset:2px}
.timeline-stages{display:flex;width:max-content;min-width:100%;gap:3px}.timeline-stage{background:#f5f8fa;border-radius:4px;min-width:125px;flex:0 0 auto;border-top:2px solid #c8d6df}
.production-timeline .timeline-stage h3{font-size:11px!important;line-height:1.2;margin:0!important;padding:4px 6px!important;white-space:nowrap;background:#e9f0f5;color:#00324b}.timeline-stage.is-done{border-color:#168540}.timeline-stage.is-done h3{background:#e6f4eb;color:#126d35}.timeline-stage.is-current{border-color:#0099d5}
.timeline-milestones{display:flex;gap:2px;padding:4px}.timeline-milestone{flex:0 0 82px;max-width:82px;text-align:center}.timeline-form{margin:0!important;padding:0!important;display:flex!important;justify-content:center;align-items:center}
.production-timeline .wf-dot{width:32px!important;height:32px!important;min-width:32px!important;margin:0!important;cursor:pointer;font-size:17px!important}.milestone-label{font-size:10px;line-height:1.15;margin:3px 0 0!important;display:block;white-space:normal;color:#173c50}
.timeline-settings{font-size:12px;margin:0!important}.production-timeline .timeline-settings>summary{font-size:11px!important;padding:4px 2px!important;margin:0!important;color:#476477;cursor:pointer;line-height:1.2}.timeline-settings h4{margin:8px 0}.timeline-settings p{margin:3px 0}.condition-setting,.step-setting{padding:6px;border-bottom:1px solid #d7e2e9}.timeline-settings textarea{display:block;width:100%;max-width:600px}.timeline-settings button{padding:6px 10px;min-height:32px;font-size:12px}.timeline-settings label{font-size:12px}.step-setting>summary{cursor:pointer;padding:6px!important;font-size:12px!important}.timeline-settings small{display:block}
.timeline-legend{font-size:10px;color:#526873;display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}.timeline-legend a{margin-left:auto}.wf-dot:focus-visible,summary:focus-visible{outline:3px solid #0099d5!important;outline-offset:2px}
.timeline-compact .milestone-label{display:none}.timeline-compact .timeline-milestone{flex:0 0 28px;max-width:28px}.timeline-compact .timeline-stage{min-width:116px}.timeline-compact .timeline-milestones{padding:3px;gap:0}.timeline-compact .timeline-milestone .wf-dot{width:26px!important;height:26px!important;min-width:26px!important;font-size:15px!important}.timeline-compact{padding:6px;margin:0}.timeline-compact .timeline-caption{display:none}.timeline-compact .timeline-product-name{font-size:10px!important}.timeline-compact .timeline-legend{font-size:9px}.timeline-compact .timeline-stage h3{font-size:10px!important;padding:4px!important}
.workboard-table td.wb-workflow-cell{min-width:560px;max-width:560px;width:560px}.workboard-table .timeline-compact{width:540px;min-width:0;max-width:540px;box-sizing:border-box}
@media(max-width:700px),(pointer:coarse){.production-timeline .wf-dot,.timeline-compact .timeline-milestone .wf-dot{width:44px!important;height:44px!important;min-width:44px!important}.timeline-compact .timeline-milestone{flex-basis:46px;max-width:46px}.production-timeline .timeline-product-name{min-height:44px;box-sizing:border-box;padding:10px 2px!important}.production-timeline .timeline-settings>summary{min-height:44px;box-sizing:border-box;padding:12px 2px!important}.timeline-settings button{min-height:44px}.timeline-product-name span{display:block;margin:2px 0 0 16px}.production-timeline{padding:6px}}
