html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-instant{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;grid-column:3!important;grid-row:1!important;align-self:center!important;padding-bottom:17px!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-instant .tk-voucher-choice{position:absolute!important;top:auto!important;bottom:0!important;right:0!important}
/* One stable grid for empty and active queue rows. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row,
html body.rustic-desktop #cityLower #outerInfoUpgrades .reference-queue-row,
html body.rustic-desktop #cityLower .reference-queue-row{
display:grid!important;grid-template-columns:84px minmax(0,1fr) 86px!important;align-items:center!important;gap:10px!important;height:auto!important;min-height:74px!important;padding:7px!important;margin:0 0 7px!important;position:relative!important;overflow:visible!important;
}
html body.rustic-desktop #cityLower .reference-queue-label{grid-column:1!important;grid-row:1!important;align-self:center!important;position:static!important;margin:0!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-queue-content{grid-column:2!important;grid-row:1!important;min-width:0!important;position:static!important;margin:0!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-queue-instant{grid-column:3!important;grid-row:1!important;position:relative!important;inset:auto!important;width:86px!important;padding:0 0 17px!important;align-self:center!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-queue-instant .tk-voucher-choice{top:auto!important;bottom:0!important;right:0!important;white-space:nowrap!important}
html body.rustic-desktop #cityLower .reference-queue-empty{padding:0!important;margin:0!important;font-size:13px!important;line-height:1.4!important}
html body.rustic-desktop #cityLower .tk-shared-job.reference-job{
display:grid!important;grid-template-columns:44px minmax(0,1fr) 54px!important;gap:7px!important;align-items:center!important;position:relative!important;inset:auto!important;transform:none!important;min-height:56px!important;height:auto!important;padding:0!important;margin:0 0 3px!important;width:100%!important;
}
html body.rustic-desktop #cityLower .reference-job-art{position:static!important;width:44px!important;height:46px!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body.rustic-desktop #cityLower .reference-job-art img{position:static!important;width:44px!important;height:46px!important;object-fit:contain!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-job-main{position:static!important;min-width:0!important;transform:none!important}
html body.rustic-desktop #cityLower .tk-shared-job-head{position:static!important;line-height:18px!important;white-space:normal!important;margin:0 0 3px!important}
html body.rustic-desktop #cityLower .tk-shared-job-head strong{font-size:13px!important;line-height:18px!important;white-space:normal!important}
html body.rustic-desktop #cityLower .tk-shared-track{position:relative!important;inset:auto!important;width:100%!important;height:18px!important;min-height:18px!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-job-actions{position:static!important;padding:0!important;align-self:center!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-job-actions .tk-shared-cancel{position:static!important;width:54px!important;min-width:54px!important;height:24px!important;padding:0!important;transform:none!important}
html body.rustic-desktop #cityLower .reference-research-row .reference-queue-content{grid-column:2/4!important}
html body.rustic-desktop #cityLower :is(:is(#innerInfoDetails,#mapLowerDetail),#outerInfoUpgrades,#mapLowerDetail){max-height:174px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 4px 0!important}
/* Bulk finish belongs above the construction label, outside the job list. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row){grid-template-columns:86px minmax(0,1fr)!important;grid-template-rows:40px minmax(27px,auto)!important;min-height:90px!important;row-gap:3px!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row)>.reference-queue-instant{grid-column:1!important;grid-row:1!important;position:relative!important;inset:auto!important;align-self:start!important;justify-self:center!important;padding:0 0 16px!important;width:84px!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row)>.reference-queue-label{grid-column:1!important;grid-row:2!important;align-self:start!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row)>.reference-queue-content{grid-column:2!important;grid-row:1/3!important;align-self:center!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-instant .tk-voucher-choice{font-size:10px!important;gap:2px!important;bottom:0!important;top:auto!important;margin:0!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-research-row>.reference-queue-content{grid-column:2/4!important}
/* Bulk finish and voucher choice share the line above the construction row. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row){grid-template-rows:28px minmax(45px,auto)!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row)>.reference-queue-instant{grid-column:1/3!important;grid-row:1!important;justify-self:start!important;display:flex!important;align-items:center!important;gap:5px!important;width:auto!important;padding:0!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-instant .tk-voucher-choice{position:static!important;inset:auto!important;font-size:11px!important;margin:0!important;display:inline-flex!important;align-items:center!important;gap:3px!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-row:not(.reference-research-row)>.reference-queue-content{grid-column:2!important;grid-row:2!important}
html body.rustic-desktop #cityLower .tk-shared-job.reference-job{column-gap:3px!important}
html body.rustic-desktop #cityLower .reference-job-actions{align-self:center!important;transform:translateY(10px)!important;padding:0 0 0px!important;display:flex!important;align-items:center!important;height:18px!important;margin:0!important}
html body.rustic-desktop #cityLower .reference-job-actions .tk-shared-cancel{height:20px!important;min-height:20px!important;line-height:20px!important;margin:0!important}
/* Compact parchment labels, matching the reference instead of flat yellow blocks. */
html body.rustic-desktop #cityLower .reference-queue-label,
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail) .reference-queue-label{
width:80px!important;height:27px!important;min-height:27px!important;max-height:27px!important;
box-sizing:border-box!important;padding:0 3px!important;display:flex!important;align-items:center!important;justify-content:center!important;
background:linear-gradient(110deg,#eee1c5,#deca9f 48%,#e9d9b7)!important;
border:1px solid #b4a183!important;border-radius:2px!important;
box-shadow:inset 0 1px 1px #fff9,inset 0 -1px 2px #9d815633,0 1px 1px #816b4930!important;
font-family:'DFKai-SB','標楷體','BiauKai','KaiTi','STKaiti',serif!important;font-size:14px!important;line-height:1!important;font-weight:700!important;letter-spacing:0!important;color:#2e2116!important;text-shadow:none!important;white-space:nowrap!important;
}
/* Shared queue panel art: timber tab rail, parchment and lower landscape. */
html body.rustic-desktop #cityLower>.panel:first-child{
background:#e7d9bd url('/assets/rustic-v1045/panel-lower.webp') center/100% 100% no-repeat!important;
}
html body.rustic-desktop #cityLower :is(#cityCatalogInfo,#mapLowerInfo,#outerLowerInfo,#innerInfoDetails,#mapLowerDetail,#outerInfoUpgrades){
background:transparent!important;
}
html body.rustic-desktop #cityLower .reference-queue-row{
background:#f2e8d026!important;border:1px solid #ad987b55!important;box-shadow:none!important;
}
html body.rustic-desktop #cityLower>.panel:first-child::before{content:''!important;display:block!important;position:absolute!important;left:12px!important;bottom:9px!important;width:210px!important;height:35px!important;inset:auto auto 9px 12px!important;background:url('/assets/reference-frame-atlas.jpg') 4.672897% 96.333333%/609.52381% 2671.428571% no-repeat!important;z-index:1!important;pointer-events:none!important;border:0!important;box-shadow:none!important}
html body.rustic-desktop #cityLower>.panel:first-child>:is(#cityCatalogInfo,#mapLowerInfo,#outerLowerInfo){position:relative!important;z-index:2!important}
/* V1820: stable construction/research queue geometry while countdown updates. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail,#outerInfoUpgrades){scrollbar-gutter:stable!important;}
html body.rustic-desktop #cityLower .tk-shared-job.reference-job{grid-template-columns:44px minmax(0,1fr) 54px!important;align-items:center!important;min-height:58px!important;}
html body.rustic-desktop #cityLower .reference-job-main{min-width:0!important;width:100%!important;}
html body.rustic-desktop #cityLower .tk-shared-track{box-sizing:border-box!important;position:relative!important;display:block!important;height:20px!important;min-height:20px!important;max-height:20px!important;width:100%!important;flex-shrink:0!important;overflow:hidden!important;transform:none!important;}
html body.rustic-desktop #cityLower .tk-shared-track>i{position:absolute!important;left:0!important;top:0!important;bottom:0!important;height:100%!important;margin:0!important;transition:none!important;transform:none!important;}
html body.rustic-desktop #cityLower .tk-shared-track>time{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;line-height:20px!important;font-variant-numeric:tabular-nums!important;pointer-events:none!important;}
html body.rustic-desktop #cityLower .reference-job-actions{transform:none!important;align-self:center!important;justify-self:center!important;height:24px!important;}
html body.rustic-desktop #cityLower .reference-job-actions .tk-shared-cancel{height:24px!important;min-height:24px!important;line-height:22px!important;}