.production-controls{display:flex;gap:14px;flex-wrap:wrap;align-items:end;padding:15px;margin-bottom:18px}.production-controls label{display:grid;gap:5px;flex:1;min-width:170px}.production-controls p{flex-basis:100%;margin:2px 0;font-size:12px}.production-board-fast{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px;align-items:start;min-width:0}.production-board-fast>.lane{min-width:0;width:auto!important;max-height:75vh;overflow:auto;contain:layout style}.production-board-fast>.lane>header{position:sticky;top:0;z-index:1}.production-board-fast .production-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;content-visibility:auto;contain-intrinsic-size:auto 180px}.production-board-fast .production-card .card-open{width:100%;text-align:left;white-space:normal}.production-stage-label{display:grid;gap:5px;font-size:11px}.production-last-movement{display:block;padding:8px 0;line-height:1.5}.production-board-fast select{width:100%;max-width:100%}body.workplace-theme[data-theme="japan-office"] #screen .production-board-fast .production-card{background:#15263d!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}.production-board-fast h2{font-size:15px}@media(max-width:700px){.production-board-fast{grid-template-columns:1fr!important}.production-board-fast>.lane{max-height:none}}


.production-fold-controls{display:flex;gap:8px;flex-wrap:wrap}.production-board-fast>.lane{padding:10px!important}.production-board-fast summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;padding:10px!important;min-height:42px;font-size:14px;list-style:none}.production-board-fast summary:before{content:"▸"}.production-board-fast details[open]>summary:before{content:"▾"}.production-board-fast details:not([open]){max-height:65px}.production-board-fast .production-card{padding:9px!important;margin:7px 0!important}.production-last-movement{font-size:11px;padding:4px 0}.production-stage-label{font-size:10px}.production-controls{gap:10px;padding:12px!important}.production-board-fast .card-open small{font-size:11px}

/* Closed stages contract horizontally; later processes move left without changing route order. */
.production-board-fast{display:flex!important;flex-flow:row nowrap!important;align-items:stretch;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:auto;scroll-padding:8px;padding-bottom:14px;max-width:100%;width:100%;min-width:0;grid-template-columns:none!important}
.production-board-fast>details.lane[open]{flex:1 0 260px;min-width:250px;width:260px!important;max-height:75vh;overflow-y:auto}
.production-board-fast>details.lane:not([open]){flex:0 0 46px;min-width:46px;max-width:46px;width:46px!important;min-height:240px;max-height:none;padding:0!important;overflow:hidden}
.production-board-fast>details:not([open])>summary{box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:12px;min-height:240px;height:100%;padding:12px 6px!important;white-space:normal}
.production-board-fast>details:not([open])>summary>b{writing-mode:vertical-rl;text-orientation:mixed;white-space:nowrap;font-size:13px;line-height:1.35}
.production-board-fast>details:not([open])>summary>small{min-width:24px;text-align:center;writing-mode:horizontal-tb;font-size:12px}
.production-board-fast>details[open]>summary:before{content:'‹'}.production-board-fast>details:not([open])>summary:before{content:'›'}
.production-board-fast summary:focus-visible{outline:2px solid #67dff2;outline-offset:-3px;border-radius:8px}.production-scroll-controls{display:flex;gap:6px;flex-wrap:wrap}.production-scroll-controls button{min-width:40px;min-height:36px}
@media(max-width:700px){.production-board-fast>details.lane[open]{flex:0 0 min(280px,calc(100vw - 72px));min-width:220px;max-height:75vh}.production-board-fast>details.lane:not([open]){max-height:none}}

/* Expand the production view without changing other CRM screens. */
body.workplace-theme #screen:has(.production-board-fast),body.workplace-theme[data-theme="japan-office"] #screen:has(.production-board-fast){max-width:none!important;width:100%!important;margin:0!important;padding:18px 12px 28px!important;box-sizing:border-box;min-width:0}
.production-board-fast,.production-board-fast>details{box-sizing:border-box}
@media(min-width:1100px){.production-board-fast:not(:has(>details:nth-child(9)))>details.lane[open]{flex:1 1 0;min-width:0;width:auto!important}.production-board-fast:not(:has(>details:nth-child(9)))>details.lane>summary{gap:5px;padding:9px 5px!important}.production-board-fast:not(:has(>details:nth-child(9)))>details.lane[open]>summary>b{white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:13px}.production-board-fast>details.lane[open]{padding:7px!important}}
.production-board-fast .production-card,.production-board-fast .card-open,.production-board-fast .production-stage-content{min-width:0;max-width:100%;box-sizing:border-box}
.production-board-fast .production-card .card-open{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;height:auto!important;min-height:86px;white-space:normal!important;text-overflow:clip!important;overflow:visible!important;padding:9px!important}
.production-board-fast .production-card .card-open :is(b,span,small){display:block;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-overflow:clip!important;opacity:1!important;line-height:1.4}
body.workplace-theme[data-theme="japan-office"] #screen .production-board-fast .production-card .card-open{background:#15263d!important;color:#f1f6ff!important}
body.workplace-theme[data-theme="japan-office"] #screen .production-board-fast .production-card .card-open b{font-size:14px;color:#f1f6ff!important}
body.workplace-theme[data-theme="japan-office"] #screen .production-board-fast .production-card .card-open :is(span,small){font-size:12px;color:#dce8f7!important}
.production-board-fast .production-last-movement{overflow-wrap:anywhere;font-size:11px;line-height:1.45}
